src/CombingExperimentSimulation.java
/**
     * Prints observed and predicted fork numbers for Kaykov and Nurse dataset
     * @param fxFilter predicate giving filter on fraction replicated
     */
Prints observed and predicted fork numbers for Kaykov and Nurse dataset
@param fxFilter predicate giving filter on fraction replicated
Prints observed and predicted fork numbers for Kaykov and Nurse dataset @param fxFilter predicate giving filter on fraction replicated
public static void printObservedVsSimulatedForkNumbers (Predicate<PopulationAveragesCombingSimulation> fxFilter) {
        System.out.println("SIMULATION VS OBSERVED");
        System.out.println("sim Fx\tobs fx\tsim forks\tobs forks\tobs len\tsim fx\tsim forks per Mb\tobs fx\tobs forks per Mb\tsim forks er mMb\tobs forks per Mb");
        population.getAverageStateVariablesForCombedMolecules().stream().filter(fxFilter::test).forEach( e->System.out.println(e.getFxReplicated() + "\t" + e.getReferenceMoleculeFxReplicated()+
                    "\t" + e.getNumberForks() + "\t" + e.getReferenceMoleculeNumberforks() + "\t" + e.getReferenceMoleculeSize() +
                    "\t"  + e.getFxReplicated() + "\t" + e.getForksPerMb() + "\t" + e.getReferenceMoleculeFxReplicated() + "\t" + 
                    + e.getReferenceMoleculeForksPerMb() + "\t" + e.getForksPerMb() + "\t" + e.getReferenceMoleculeForksPerMb()));
    }
public static void printObservedVsSimulatedForkNumbers ( Predicate < PopulationAveragesCombingSimulation > fxFilter ) { System . out . println ( "SIMULATION VS OBSERVED" ) ; System . out . println ( "sim Fx\tobs fx\tsim forks\tobs forks\tobs len\tsim fx\tsim forks per Mb\tobs fx\tobs forks per Mb\tsim forks er mMb\tobs forks per Mb" ) ; population . getAverageStateVariablesForCombedMolecules ( ) . stream ( ) . filter ( fxFilter :: test ) . forEach ( e -> System . out . println ( e . getFxReplicated ( ) + "\t" + e . getReferenceMoleculeFxReplicated ( ) + "\t" + e . getNumberForks ( ) + "\t" + e . getReferenceMoleculeNumberforks ( ) + "\t" + e . getReferenceMoleculeSize ( ) + "\t" + e . getFxReplicated ( ) + "\t" + e . getForksPerMb ( ) + "\t" + e . getReferenceMoleculeFxReplicated ( ) + "\t" + + e . getReferenceMoleculeForksPerMb ( ) + "\t" + e . getForksPerMb ( ) + "\t" + e . getReferenceMoleculeForksPerMb ( ) ) ) ; }
Prints observed and predicted fork numbers for Kaykov and Nurse dataset
 @param fxFilter predicate giving filter on fraction replicated
Prints observed and predicted fork numbers for Kaykov and Nurse dataset @param fxFilter predicate giving filter on fraction replicated