Package reaction

Examples of reaction.Item


  {
    this.cell = new Cell();
   
    // Load up Cell with goodies (infect the cell and add other ribosomes
    // and proteins)
    this.cell.templates.initialize(new Item(this.virus.genomeFullname(), this.moi, 0.0));
    this.cell.proteins.initialize(new Item(Virus.POLYMERASE, this.moi * this.virus.getComposition().getComponentCount(Virus.POLYMERASE), 0.0));
    this.cell.proteins.initialize(new Item(Virus.M.name, this.moi * this.virus.getComposition().getComponentCount(Virus.M.name), 0.0));
    this.cell.proteins.initialize(new Item(Cell.PROTEIN_RIBOSOME, Cell.initialRibosomes, 0.0));
  }
View Full Code Here


  {
    this.cell = new Cell();
   
    // Load up Cell with goodies (infect the cell and add other ribosomes and proteins)
   
    this.cell.templates.initialize(new Item(this.virus.genomeFullname(), this.moi, 0.0));
    this.cell.proteins.initialize(new Item(Virus.POLYMERASE, this.moi * this.virus.getComposition().getComponentCount(Virus.POLYMERASE), 0.0));
   
    this.cell.templates.initialize(new Item(this.dip.genomeName(), this.modip, 0.0));
    this.cell.proteins.initialize(new Item(DIP.POLYMERASE, this.modip * this.dip.getComposition().getComponentCount(DIP.POLYMERASE), 0.0));
   
    this.cell.proteins.initialize(new Item(Cell.PROTEIN_RIBOSOME, this.cell.initialRibosomes, 0.0));
    this.cell.proteins.initialize(new Item(Cell.PROTEIN_DETECTION, this.cell.initialDetectionProteins, 0.0));
  }
View Full Code Here

  {
    this.cell = new Cell();
   
    // Load up Cell with goodies (infect the cell and add other ribosomes
    // and proteins)
    this.cell.templates.initialize(new Item(this.virus.genPolComplex.name, this.moi, 0.0));
    this.cell.proteins.initialize(new Item(Virus.POLYMERASE, this.moi * this.virus.getComposition().getComponentCount(Virus.POLYMERASE), 0.0));
    this.cell.proteins.initialize(new Item(Cell.PROTEIN_RIBOSOME, this.cell.initialRibosomes, 0.0));
    this.cell.proteins.initialize(new Item(Cell.PROTEIN_DETECTION, this.cell.initialDetectionProteins, 0.0));
  }
View Full Code Here

    Vector<Double> resultsProteins = new Vector<Double>();
    Vector<Double> time = new Vector<Double>();
   
    // Initialize Cell Amounts
    Cell cell = new Cell();
    cell.templates.initialize(new Item("Template", templates, 0.0));
    cell.proteins.initialize(new Item("Rib", ribosomes, 0.0));
    cell.proteins.initialize(new Item("Pol", polymerases, 0.0));
   
    Vector<Reaction> rxns = new Vector<Reaction>();
   
    // Add reactions
    TestPolymeraseRxn transcription = new TestPolymeraseRxn(cell.templates, "Template", cell.proteins, "Pol", kms, transcriptDelay, cell.transcripts);
View Full Code Here

    Vector<Double> resultsPols = new Vector<Double>();
    Vector<Double> time = new Vector<Double>();
   
    // Initialize Cell Amounts
   
    cell.initialize(new Item(TEMPLATE, initTemplates, 0.0));
    cell.initialize(new Item(RIB, initRibs, 0.0));
    cell.initialize(new Item(POL, initPols, 0.0));
   
    Vector<Reaction> rxns = new Vector<Reaction>();
   
    // Add reactions
    rxns.add(mod.getNtRxn());
View Full Code Here

TOP

Related Classes of reaction.Item

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.