src/ReplicatingMolecule2.java
/**
     * Convenience routine to print formated version of the major state record variables
     * @param record 
     */
Convenience routine to print formated version of the major state record variables
@param record
Convenience routine to print formated version of the major state record variables @param record
final void printGenomeState (ReplicatingMolecule2.StateRecord2 record) {
        System.out.format("%30s  %.2f%n", "Time",record.getTime());
        System.out.format("%30s  %d%n", "Number of Initiations",record.getNumberInitiations());
        System.out.format("%30s  %d%n", "Number of Actives",record.getNumberActive());
        System.out.format("%30s  %d%n", "Number of Closures",cycle.getClosures());
        System.out.format("%30s  %d%n", "Number of Terminations",record.getNumberTerminations());
        System.out.format("%30s  %d%n", "Number of Passives",record.getNumberPassives());
        System.out.format("%30s  %d%n", "Number of Potentials",record.getNumberPotentials());
        System.out.format("%30s  %.3f%n", "NucleotidesReplicated", ((double) record.getNucleotidesReplicated()));
        System.out.format("%30s  %.3f%n", "FractionReplicated", ((double) record.getNucleotidesReplicated()/seqLength));
        System.out.format("%30s  %.3f%n", "Number of forks", ((double) record.getNumberForks()));
        System.out.println(); System.out.println();
    }
final void printGenomeState ( ReplicatingMolecule2 . StateRecord2 record ) { System . out . format ( "%30s  %.2f%n" , "Time" , record . getTime ( ) ) ; System . out . format ( "%30s  %d%n" , "Number of Initiations" , record . getNumberInitiations ( ) ) ; System . out . format ( "%30s  %d%n" , "Number of Actives" , record . getNumberActive ( ) ) ; System . out . format ( "%30s  %d%n" , "Number of Closures" , cycle . getClosures ( ) ) ; System . out . format ( "%30s  %d%n" , "Number of Terminations" , record . getNumberTerminations ( ) ) ; System . out . format ( "%30s  %d%n" , "Number of Passives" , record . getNumberPassives ( ) ) ; System . out . format ( "%30s  %d%n" , "Number of Potentials" , record . getNumberPotentials ( ) ) ; System . out . format ( "%30s  %.3f%n" , "NucleotidesReplicated" , ( ( double ) record . getNucleotidesReplicated ( ) ) ) ; System . out . format ( "%30s  %.3f%n" , "FractionReplicated" , ( ( double ) record . getNucleotidesReplicated ( ) / seqLength ) ) ; System . out . format ( "%30s  %.3f%n" , "Number of forks" , ( ( double ) record . getNumberForks ( ) ) ) ; System . out . println ( ) ; System . out . println ( ) ; }
Convenience routine to print formated version of the major state record variables
 @param record
Convenience routine to print formated version of the major state record variables @param record
//for testing //for (int i = 0; i < record.segmentList.size()-1; i=i+2 ) { //System.out.println(record.segmentList.get(i) + "   " + record.segmentList.get(i+1)); //} //printState();