Examples of Decomposition


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

  @Test
  public void testGetPriorizedElementPriority() {
    Goal goal = createGoal(gss, 1);
    Goal subgoal = createGoal(gss, 2);
    Decomposition decomposition = createDecomposition(gss, subgoal, goal);
    createPriorizedDecomposition(gssQuery, decomposition, 100);
   
    createSelectedGoal(gssQuery, goal, 100);
    createSelectedGoal(gssQuery, subgoal, 100);
View Full Code Here

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

  @Test
  public void testGetPriorizedDecompositionWeight() {
    Goal goal = createGoal(gss, 1);
    Goal subgoal = createGoal(gss, 2);
    Decomposition decomposition = createDecomposition(gss, subgoal, goal);
    PrioritizedDecomposition priorizedDecomposition = createPriorizedDecomposition(gssQuery, decomposition, 100);
   
    createSelectedGoal(gssQuery, goal, 100);
    createSelectedGoal(gssQuery, subgoal, 100);
View Full Code Here

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


    createSelectedGoal(gssQuery, goal1, 100);
    createSelectedGoal(gssQuery, goal2, 100);

    Decomposition decomposition = createDecomposition(gss, goal2, goal1);
    PrioritizedDecomposition priorizedDecomposition = createPriorizedDecomposition(gssQuery, decomposition, 100);


    executeRequiredPhases();
View Full Code Here

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


    createSelectedGoal(gssQuery, goal1, 100);
    PrioritizedElement selectedGoal2 = createSelectedGoal(gssQuery, goal2, 100);

    Decomposition decomposition = createDecomposition(gss, goal2, goal1);
    PrioritizedDecomposition priorizedDecomposition = createPriorizedDecomposition(gssQuery, decomposition, 100);


    executeRequiredPhases();
View Full Code Here

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

    Goal goal2 = createGoal(gss, 2);

    createSelectedGoal(gssQuery, goal1, 100);
    createSelectedGoal(gssQuery, goal2, 100);

    Decomposition decomposition = createDecomposition(gss, goal2, goal1);
    createPriorizedDecomposition(gssQuery, decomposition, 100);
   
    executeRequiredPhases();

    priorizedElementsCache.markDecompositionAsToRemove(decomposition);
View Full Code Here

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

  @Test
  public void testSimpleTest() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 2);
   
    Decomposition d1 = createDecomposition(gss, g2, g1);
   
    PrioritizedElement selectedGoal1 = createSelectedGoal(gssQuery, g1, 0);
    PrioritizedElement selectedGoal2 = createSelectedGoal(gssQuery, g2, 0);
   
    createPriorizedDecomposition(gssQuery, d1, 0);
View Full Code Here

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

  public void testRemoveAnElementBetweentwoElements() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 2);
    Goal g3 = createGoal(gss, 3);
   
    Decomposition d1 = createDecomposition(gss, g2, g1);
    Decomposition d2 = createDecomposition(gss, g3, g2);
   
    PrioritizedElement selectedGoal1 = createSelectedGoal(gssQuery, g1, 0);
    PrioritizedElement selectedGoal2 = createSelectedGoal(gssQuery, g2, 0);
    PrioritizedElement selectedGoal3 = createSelectedGoal(gssQuery, g3, 0);
   
View Full Code Here

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

  public void testForRemoveSubgoalOfParentWithAnotherSubgoal() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 2);
    Goal g3 = createGoal(gss, 3);
   
    Decomposition d1 = createDecomposition(gss, g2, g1);
    Decomposition d2 = createDecomposition(gss, g3, g1);
   
    PrioritizedElement selectedGoal1 = createSelectedGoal(gssQuery, g1, 0);
    PrioritizedElement selectedGoal2 = createSelectedGoal(gssQuery, g2, 0);
    PrioritizedElement selectedGoal3 = createSelectedGoal(gssQuery, g3, 0);
   
View Full Code Here

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

  @Test
  public void testSimpleTest() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 2);
   
    Decomposition d1 = createDecomposition(gss, g2, g1);
   
    createSelectedGoal(gssQuery, g1, 0);
    createSelectedGoal(gssQuery, g2, 0);
   
    PrioritizedDecomposition priorizedDecomposition =  createPriorizedDecomposition(gssQuery, d1, 0);
View Full Code Here

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

   
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 2);
    Goal g3 = createGoal(gss, 3);
   
    Decomposition d1 = createDecomposition(gss, g2, g1);
    Decomposition d2 = createDecomposition(gss, g3, g1);
   
    PrioritizedElement selectedGoal1 = createSelectedGoal(gssQuery, g1, 0);
    PrioritizedElement selectedGoal2 = QueryFactory.eINSTANCE.createPrioritizedElement();
    selectedGoal2.setElement(g2);
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.