Inheritance: BioBrick
Exemplo n.º 1
0
   protected override DNABit produceDNABit()
 {
   PromoterBrick prom = new PromoterBrick("PromY2", 75f, "[0.01,2]Y");
   RBSBrick rbs = new RBSBrick("RBS3", 3.0f);
   GeneBrick gene = new GeneBrick("MOV", "MOV");
   TerminatorBrick term = new TerminatorBrick("T1", 1.0f);
   LinkedList<BioBrick> bricks = new LinkedList<BioBrick>(new List<BioBrick>(){prom, rbs, gene, term});
   ExpressionModule module = new ExpressionModule("expr", bricks);
   return Device.buildDevice("DEV", new LinkedList<ExpressionModule>(new List<ExpressionModule>(){module}));
 }
  protected override DNABit produceDNABit()
  {
    PromoterBrick prom = new PromoterBrick(promoterName, promoterBeta, promoterFormula);
    RBSBrick rbs = new RBSBrick(rbsName, rbsFactor);
    GeneBrick gene = new GeneBrick(geneName, geneProteinName);
    TerminatorBrick term = new TerminatorBrick(terminatorName, terminatorFactor);

    LinkedList<BioBrick> bricks = new LinkedList<BioBrick>(new List<BioBrick>(){prom, rbs, gene, term});
    ExpressionModule module = new ExpressionModule(expressionModuleName, bricks);
        
        Device result = Device.buildDevice(deviceName, new LinkedList<ExpressionModule>(new List<ExpressionModule>(){module}));
        return result;
  }
Exemplo n.º 3
0
 public RBSBrick(RBSBrick r) : this(r._name, r._RBSFactor)
 {
 }
Exemplo n.º 4
0
    public override bool Equals(System.Object obj)
    {
        RBSBrick rbsb = obj as RBSBrick;

        return(base.Equals(obj) && (_RBSFactor == rbsb._RBSFactor));
    }
Exemplo n.º 5
0
 public RBSBrick(RBSBrick r) : this(r._name, r._RBSFactor)
 {
 }