public AlgebraicRule(Model m, String id, String name) { this.model = model; this.id = id; this.model.AddId(id, this); this.name = name; }
public AlgebraicRule(Model model, Hashtable attrs) { this.model = model; if (attrs.Contains("id")) { this.id = (String)attrs["id"]; this.model.AddId(this.id, this); this.model.AddUnit(this.id, this); } if (attrs.Contains("name")) this.name = name; }
public Constraint(Model m, String id, String name) { this.model = model; this.id = id; this.model.AddId(id, this); this.name = name; }
public SBase variable; // can be Species, Compartment or Parameter #endregion Fields #region Constructors public RateRule(Model model) { this.model = model; }
public Parameter(Model m, String id) { this.model = model; this.id = id; this.model.AddId(id, this); }
public ModifierSpeciesReference(Model model, Species species) { this.model = model; this.species = species; }
public AlgebraicRule(Model m) { this.model = model; }
public LeafNode(Model m, MathNode parent, Enum constant) { this.model = m; this.parent = parent; this.data = constant; }
public FunctionDefinition(Model m, String id, String name) { this.model = model; this.id = id; this.model.AddId(id, this); this.name = name; }
public FunctionDefinition(Model m, String id) { this.model = model; this.id = id; this.model.AddId(id, this); }
public FunctionDefinition(Model m) { this.model = model; }
public EventAssignment(Model model, SBase variable) { this.model = model; this.variable = variable; // check variable exists in model.IdTable // and that it's not set to constant }
public SBase variable; // can be Compartment, Species or Parameter #endregion Fields #region Constructors public EventAssignment(Model model) { this.model = model; }
public Event(Model m, String id) { this.model = model; this.id = id; this.model.AddId(id, this); }
// each eventAssignment must use a unique variable (no overlap) per event public Event(Model model) { this.model = model; }
public KineticLaw(Model m, String id, String name) { this.model = model; this.id = id; this.model.AddId(id, this); this.name = name; }
public LeafNode(Model m, MathNode parent) { this.model = model; this.parent = parent; }
public FunctionDefinition(Model model, Hashtable attrs) { this.model = model; if (attrs.Contains("id")) { this.id = (String)attrs["id"]; this.model.AddId(this.id, this); } if (attrs.Contains("name")) this.name = name; }
public LeafNode(Model m, MathNode parent, String type) { this.model = m; this.parent = parent; if (type == "integer" || type == "real" || type == "rational" || type == "e-notation") { this.type = type; } else if (type == null) { this.type = "real"; } else // not a number, it's a string id { this.type = "string"; } }
public SBase variable; // can be Species, Compartment or Parameter #endregion Fields #region Constructors public InitialAssignment(Model m) { this.model = model; }
public InitialAssignment(Model m, String id, String name) { this.model = model; this.id = id; this.model.AddId(id, this); this.name = name; }
public InitialAssignment(Model model, Hashtable attrs) { this.model = model; if (attrs.Contains("id")) { this.id = (String)attrs["id"]; this.model.AddId(this.id, this); this.model.AddUnit(this.id, this); } if (attrs.Contains("name")) this.name = name; }
public ModifierSpeciesReference(Model model) { this.model = model; }
public InitialAssignment(Model model, SBase variable) { this.model = model; this.variable = variable; }
public Parameter(Model m) { this.model = model; }
public KineticLaw(Model model) { this.model = model; }
public Parameter(Model m, String id, String name) { this.model = model; this.id = id; this.model.AddId(id, this); this.name = name; }
public KineticLaw(Model m, String id) { this.model = model; this.id = id; this.model.AddId(id, this); }
public RateRule(Model m, String id) { this.model = model; this.id = id; this.model.AddId(id, this); }
public Constraint(Model m, String id) { this.model = model; this.id = id; this.model.AddId(id, this); }