示例#1
0
文件: Model.cs 项目: dorchard/mucell
 public AlgebraicRule(Model m, String id, String name)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
     this.name = name;
 }
示例#2
0
文件: Model.cs 项目: dorchard/mucell
 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;
 }
示例#3
0
文件: Model.cs 项目: dorchard/mucell
 public Constraint(Model m, String id, String name)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
     this.name = name;
 }
示例#4
0
文件: Model.cs 项目: dorchard/mucell
        public SBase variable; // can be Species, Compartment or Parameter

        #endregion Fields

        #region Constructors

        public RateRule(Model model)
        {
            this.model = model;
        }
示例#5
0
文件: Model.cs 项目: dorchard/mucell
 public Parameter(Model m, String id)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
 }
示例#6
0
文件: Model.cs 项目: dorchard/mucell
 public ModifierSpeciesReference(Model model, Species species)
 {
     this.model = model;
     this.species = species;
 }
示例#7
0
文件: Model.cs 项目: dorchard/mucell
 public AlgebraicRule(Model m)
 {
     this.model = model;
 }
示例#8
0
文件: Model.cs 项目: dorchard/mucell
 public LeafNode(Model m, MathNode parent, Enum constant)
 {
     this.model = m;
     this.parent = parent;
     this.data = constant;
 }
示例#9
0
文件: Model.cs 项目: dorchard/mucell
 public FunctionDefinition(Model m, String id, String name)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
     this.name = name;
 }
示例#10
0
文件: Model.cs 项目: dorchard/mucell
 public FunctionDefinition(Model m, String id)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
 }
示例#11
0
文件: Model.cs 项目: dorchard/mucell
 public FunctionDefinition(Model m)
 {
     this.model = model;
 }
示例#12
0
文件: Model.cs 项目: dorchard/mucell
 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
 }
示例#13
0
文件: Model.cs 项目: dorchard/mucell
        public SBase variable; // can be Compartment, Species or Parameter

        #endregion Fields

        #region Constructors

        public EventAssignment(Model model)
        {
            this.model = model;
        }
示例#14
0
文件: Model.cs 项目: dorchard/mucell
 public Event(Model m, String id)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
 }
示例#15
0
文件: Model.cs 项目: dorchard/mucell
 // each eventAssignment must use a unique variable (no overlap) per event
 public Event(Model model)
 {
     this.model = model;
 }
示例#16
0
文件: Model.cs 项目: dorchard/mucell
 public KineticLaw(Model m, String id, String name)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
     this.name = name;
 }
示例#17
0
文件: Model.cs 项目: dorchard/mucell
 public LeafNode(Model m, MathNode parent)
 {
     this.model = model;
     this.parent = parent;
 }
示例#18
0
文件: Model.cs 项目: dorchard/mucell
 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;
 }
示例#19
0
文件: Model.cs 项目: dorchard/mucell
        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";
            }
        }
示例#20
0
文件: Model.cs 项目: dorchard/mucell
        public SBase variable; // can be Species, Compartment or Parameter

        #endregion Fields

        #region Constructors

        public InitialAssignment(Model m)
        {
            this.model = model;
        }
示例#21
0
文件: Model.cs 项目: dorchard/mucell
 public InitialAssignment(Model m, String id, String name)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
     this.name = name;
 }
示例#22
0
文件: Model.cs 项目: dorchard/mucell
 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;
 }
示例#23
0
文件: Model.cs 项目: dorchard/mucell
 public ModifierSpeciesReference(Model model)
 {
     this.model = model;
 }
示例#24
0
文件: Model.cs 项目: dorchard/mucell
 public InitialAssignment(Model model, SBase variable)
 {
     this.model = model;
     this.variable = variable;
 }
示例#25
0
文件: Model.cs 项目: dorchard/mucell
 public Parameter(Model m)
 {
     this.model = model;
 }
示例#26
0
文件: Model.cs 项目: dorchard/mucell
 public KineticLaw(Model model)
 {
     this.model = model;
 }
示例#27
0
文件: Model.cs 项目: dorchard/mucell
 public Parameter(Model m, String id, String name)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
     this.name = name;
 }
示例#28
0
文件: Model.cs 项目: dorchard/mucell
 public KineticLaw(Model m, String id)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
 }
示例#29
0
文件: Model.cs 项目: dorchard/mucell
 public RateRule(Model m, String id)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
 }
示例#30
0
文件: Model.cs 项目: dorchard/mucell
 public Constraint(Model m, String id)
 {
     this.model = model;
     this.id = id;
     this.model.AddId(id, this);
 }