src/main/java/Alergia.java
private void constructFPTA(List<List<String>> data){
        double start = System.currentTimeMillis();
        List<FptaNode> ta = FptaNode.constructFPTA(data, modelType, this.optimizeFor);
        double timeElapsed = System.currentTimeMillis() - start;
        System.out.println("FPTA construction time   : " + String.format("%.2f", timeElapsed / 1000) + " seconds.");
        data = null; // to ensure GC will collect it sooner than later

        mutableTree = ta.get(0);
        immutableTree = ta.get(1);
    }
/**
     * Construct mutable and immutable trees. If optimization is set to MEMORY, blue tree is null.
     * @param data red and blue tree
     */
Construct mutable and immutable trees. If optimization is set to MEMORY, blue tree is null.
@param data red and blue tree
Construct mutable and immutable trees . If optimization is set to MEMORY blue tree is null . @param data red and blue tree
private void constructFPTA(List<List<String>> data){
        double start = System.currentTimeMillis();
        List<FptaNode> ta = FptaNode.constructFPTA(data, modelType, this.optimizeFor);
        double timeElapsed = System.currentTimeMillis() - start;
        System.out.println("FPTA construction time   : " + String.format("%.2f", timeElapsed / 1000) + " seconds.");
        data = null; 
        mutableTree = ta.get(0);
        immutableTree = ta.get(1);
    }
private void constructFPTA ( List < List < String > > data ) { double start = System . currentTimeMillis ( ) ; List < FptaNode > ta = FptaNode . constructFPTA ( data , modelType , this . optimizeFor ) ; double timeElapsed = System . currentTimeMillis ( ) - start ; System . out . println ( "FPTA construction time   : " + String . format ( "%.2f" , timeElapsed / 1000 ) + " seconds." ) ; data = null ; mutableTree = ta . get ( 0 ) ; immutableTree = ta . get ( 1 ) ; }
Construct mutable and immutable trees.
Construct mutable and immutable trees .
// to ensure GC will collect it sooner than later