Ignore:
Timestamp:
08/24/14 21:12:44 (10 years ago)
Author:
rkrimmel
Message:

Creating more complex models...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/autoquest-core-tasktrees-alignment-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/SequenceForTaskDetectionRuleAlignmentTest.java

    r1654 r1693  
    1717import org.junit.Test; 
    1818 
     19import de.ugoe.cs.autoquest.tasktrees.alignment.algorithms.Match; 
     20import de.ugoe.cs.autoquest.tasktrees.alignment.algorithms.NumberSequence; 
     21 
    1922/** 
    2023 * @author Patrick Harms 
     
    2225public class SequenceForTaskDetectionRuleAlignmentTest extends AbstractTemporalRelationshipTC { 
    2326 
     27         
     28        @Test 
     29        public void test_MatchAsSequences() { 
     30                Match m1 = new Match(); 
     31                int[] pat1 = new int[]{2,1,3,-1,3,5,4,8,3,1}; 
     32                int[] pat2 = new int[]{1,2,3, 4,3,4,5,3,3,-1}; 
     33                NumberSequence ns1 = new NumberSequence(10); 
     34                NumberSequence ns2 = new NumberSequence(10); 
     35                ns1.setSequence(pat1); 
     36                ns2.setSequence(pat2); 
     37                m1.setFirstSequence(ns1); 
     38                m1.setSecondSequence(ns1); 
     39                 
     40                 
     41        } 
     42         
    2443    /** 
    2544     * 
Note: See TracChangeset for help on using the changeset viewer.