maia-markov
Version:
Markov analysis and generation functions supporting various applications by Music Artificial Intelligence Algorithms, Inc.
17 lines (15 loc) • 330 B
JavaScript
// Constructor for Edge object
export default function Edge(_u, _v, _w){
// Workaround for JS context peculiarities.
// var self = this;
this.u = _u
this.v = _v
this.w = _w
// Possible to return something.
// return sth;
}
// Methods for Edge object
Edge.prototype = {
constructor: Edge,
// sth: function(){}
}