- Timestamp:
- 09/03/14 17:41:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/SequenceForTaskDetectionRuleAlignment.java
r1718 r1720 691 691 692 692 Console.traceln(Level.INFO, "searching for patterns occuring most"); 693 693 694 count = 0; 695 size=appData.getMatchseqs().size(); 696 Console.traceln(Level.INFO, "Pattern count is " + size); 694 697 // search each match in every other sequence 695 698 for (Iterator<Match> it = appData.getMatchseqs().iterator(); it.hasNext();) { 696 699 Match pattern = it.next(); 697 700 count++; 701 //Print out the progress 702 if(size>100) { 703 if((count%(size/100)==0)) { 704 Console.traceln(Level.INFO,(Math.round((float) count/size*100))+ "%"); 705 } 706 } 707 else { 708 Console.traceln(Level.INFO,(Math.round((float) count/size*100))+ "%"); 709 } 698 710 // Skip sequences with more 0 events (scrolls) than other events. 699 711 // Both of the pattern sequences are equally long, so the zero … … 883 895 submat= new ObjectDistanceSubstitionMatrix(6,-3,false); 884 896 newTasks = new LinkedList<ITask>(); 897 this.detectedAndReplacedTasks = true; 885 898 } 886 899
Note: See TracChangeset
for help on using the changeset viewer.