Package org.emftrace.metamodel.QUARCModel.GSS

Examples of org.emftrace.metamodel.QUARCModel.GSS.Principle


public void testIsA4() {
 
  //test for bug with Impact-Relation
  Goal g1 = createGoal(gss, 1);

  Principle p1 =createPrinciple(gss, 1);
  Pattern si1 = createPattern(gss, 1);
  Pattern si2 = createPattern(gss, 2);
  Pattern si3 = createPattern(gss, 3);

  createOffset(gss, si3, g1, 2.0f);
View Full Code Here


  @Test
  public void testSimpleGraph1() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 =  createPattern(gss, 1);
   
    createImpact(gss, p1, g1, 100);
    createImpact(gss, si1, p1, 100);
View Full Code Here

  @Test
  public void testSimpleGraph2() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 =  createPattern(gss, 1);

    createImpact(gss, p1, g1, 20);
    createImpact(gss, si1, p1, 100);
View Full Code Here

  @Test
  public void testSimpleGraph3() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 =  createPattern(gss, 1);
   

    createImpact(gss, p1, g1, 20);
View Full Code Here

  public void testTestWithDecompostionsAtPrincipleLayer() {

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);
    Principle p3 = createPrinciple(gss, 3);
   
    Pattern si1 =  createPattern(gss, 1);
 
    createDecomposition(gss, p3, p1);
    createDecomposition(gss, p3, p2);
View Full Code Here

    } else {
      List<Principle> parts = new ArrayList<Principle>();

      for (Relation relation : cacheManager
          .getApplicableIncomingDecompositionRelations(principle)) {
        Principle target = (Principle) cacheManager
            .getSourceOfRelation(relation);
        result.addAll(putElement(target));
        parts.add(target);

      }
View Full Code Here

    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
   
    createImpact(gss, p1, g2, 1);
    createImpact(gss, p1, g3, 1);
   
    Pattern si1 = createPattern(gss, 1);
View Full Code Here

    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
   
    createImpact(gss, p1, g2, 1);
    createImpact(gss, p1, g3, 1);
   
    Pattern si1 = createPattern(gss, 1);
View Full Code Here

    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
   
    createImpact(gss, p1, g2, 1);
    createImpact(gss, p1, g3, 1);
   
    Pattern si1 = createPattern(gss, 1);
View Full Code Here

    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
   
    createImpact(gss, p1, g2, 1);
    createImpact(gss, p1, g3, 1);
   
    Pattern si1 = createPattern(gss, 1);
View Full Code Here

TOP

Related Classes of org.emftrace.metamodel.QUARCModel.GSS.Principle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.