Changeset 1717
- Timestamp:
- 09/02/14 22:43:36 (10 years ago)
- Location:
- branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/algorithms/Match.java
r1693 r1717 1 1 package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; 2 2 3 import java.io.Serializable; 3 4 import java.util.ArrayList; 4 5 import java.util.LinkedList; … … 6 7 7 8 8 public class Match { 9 public class Match implements Serializable{ 10 /** 11 * 12 */ 13 private static final long serialVersionUID = -3206992723755714741L; 14 9 15 private ArrayList<NumberSequence> matchseqs; 10 16 -
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/algorithms/MatchOccurence.java
r1667 r1717 1 1 package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; 2 2 3 public class MatchOccurence { 3 import java.io.Serializable; 4 5 public class MatchOccurence implements Serializable{ 6 /** 7 * 8 */ 9 private static final long serialVersionUID = 6186633243145293781L; 4 10 private int startindex; 5 11 private int endindex; -
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/algorithms/NumberSequence.java
r1693 r1717 1 1 package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms; 2 2 3 import java.io.Serializable; 3 4 import java.util.LinkedList; 4 5 import java.util.Random; 5 6 6 public class NumberSequence { 7 public class NumberSequence implements Serializable{ 8 /** 9 * 10 */ 11 private static final long serialVersionUID = -4604570107534055589L; 7 12 private int[] sequence; 8 13 private int id; -
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/SequenceForTaskDetectionRuleAlignment.java
r1711 r1717 658 658 NumberSequence ns1 = appData.getNumberSequences().get(i); 659 659 count++; 660 if((count%(size/100)==0)) {661 Console.traceln(Level.INFO,(Math.round((float) count/size*100))+ "%");662 }660 // if((count%(size/100)==0)) { 661 // Console.traceln(Level.INFO,(Math.round((float) count/size*100))+ "%"); 662 // } 663 663 for (int j = 0; j < appData.getNumberSequences().size(); j++) { 664 664 NumberSequence ns2 = appData.getNumberSequences().get(j); 665 665 if (i != j) { 666 667 Console.traceln(Level.FINEST,"Aligning sequence " + i + " with sequence " + j); 666 //Console.traceln(Level.FINEST,"Aligning sequence " + i + " with sequence " + j); 668 667 AlignmentAlgorithm aa = AlignmentAlgorithmFactory.create(); 669 668 aa.align(ns1, ns2, appData.getSubmat(),9); … … 672 671 } 673 672 } 674 673 GlobalDataContainer.getInstance().addData("aligned", matchseqs); 674 saveAppData("aligned"); 675 675 676 676 Console.traceln(Level.INFO, "searching for patterns occuring most");
Note: See TracChangeset
for help on using the changeset viewer.