示例#1
0
 public ComponentLinkCommand(SpeciesReference speciesReference, ComponentBase component, int linkNumber, ComponentLinkType linkType, bool adding)
 {
     this.speciesReference = speciesReference;
     this.component = component;
     this.linkNumber = linkNumber;
     this.linkType = linkType;
     this.adding = adding;
 }
示例#2
0
        public FlagellaWorldState(ComponentBase componentType)
            : base(componentType)
        {
            //the current likelihood that the cell will tumble when next a decision phase is entered ( 1 => certain, 0 => certainly not)
            TumbleLikelihood = 1.0f;

            TumbleUpdateCounter = 0.0f;
            TumbleState = true;
            TumbleCounter = 0.0f;
            SampleCounter = 0.0f;
            FirstSample = 0.0f;
            FirstSampleTaken = false;
        }
示例#3
0
 public ComponentLink(ComponentBase parent, ComponentLinkType type, int linkNumber, float xOffset, float yOffset)
 {
     this.parent = parent;
     this.linkType = type;
     this.linkNumber = linkNumber;
     this.xOffset = xOffset;
     this.yOffset = yOffset;
 }
示例#4
0
 public ReceptorWorldState(ComponentBase componentType)
     : base(componentType)
 {
 }
示例#5
0
 public ComponentBaseCommand(ComponentBase component, bool adding, Model.SBML.Model model)
 {
     this.component = component;
     this.adding = adding;
     this.model = model;
 }
示例#6
0
 public CellBodyWorldState(ComponentBase componentType)
     : base(componentType)
 {
 }
 /// <summary>
 /// Basic constructor
 /// </summary>
 /// <param name="compType"></param>
 public ComponentWorldStateBase(ComponentBase compType)
 {
     this.componentType = compType;
 }