Ignore:
Timestamp:
02/20/12 11:53:24 (13 years ago)
Author:
sherbold
Message:
  • the commands parseDirJFC and parseJFC now pre-compute the equality of JFC target strings after loading data.
  • focus events now filtered from models
Location:
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/commands
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/commands/CMDparseDirJFC.java

    r383 r389  
    1010import de.ugoe.cs.eventbench.jfc.JFCLogParser; 
    1111import de.ugoe.cs.eventbench.jfc.data.JFCEvent; 
     12import de.ugoe.cs.eventbench.jfc.data.JFCTargetComparator; 
    1213import de.ugoe.cs.util.console.Command; 
    1314import de.ugoe.cs.util.console.Console; 
     
    5051                } 
    5152 
     53                JFCTargetComparator.setMutable(true); 
    5254                JFCLogParser parser = new JFCLogParser(); 
    5355 
     
    6163 
    6264                Collection<List<JFCEvent>> sequences = parser.getSequences(); 
     65                Console.traceln("Pre-computing event target equalities."); 
     66                JFCTargetComparator.setMutable(false); 
    6367 
    6468                if (GlobalDataContainer.getInstance().addData(sequencesName, sequences)) { 
  • trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/jfc/commands/CMDparseJFC.java

    r305 r389  
    99import de.ugoe.cs.eventbench.jfc.JFCLogParser; 
    1010import de.ugoe.cs.eventbench.jfc.data.JFCEvent; 
     11import de.ugoe.cs.eventbench.jfc.data.JFCTargetComparator; 
    1112import de.ugoe.cs.util.console.Command; 
    1213import de.ugoe.cs.util.console.Console; 
     
    4142                        throw new InvalidParameterException(); 
    4243                } 
    43  
     44                JFCTargetComparator.setMutable(true); 
    4445                JFCLogParser parser = new JFCLogParser(); 
    45  
     46                 
    4647                parser.parseFile(filename); 
     48                 
     49                Console.traceln("Pre-computing event target equalities."); 
     50                JFCTargetComparator.setMutable(false); 
    4751 
    4852                Collection<List<JFCEvent>> sequences = parser.getSequences(); 
Note: See TracChangeset for help on using the changeset viewer.