Examples of DecisionTableExpressionValueSelection


Examples of net.sf.parteg.base.testcasegraph.decisiontables.DecisionTableExpressionValueSelection

    for(DecisionRowAlternatives oAlternatives : oDecisionTable)
    {
      TCGDisjunctiveNormalForm oDNF = GeneratedFactory.eINSTANCE.createTCGDisjunctiveNormalForm();
      for(DecisionRowInterface oRow : oAlternatives)
      {
        DecisionTableExpressionValueSelection oResultingSelection =
          new DecisionTableExpressionValueSelection();
        oRow.fillValueSelection(oResultingSelection);
        oResultingSelection.setTruthValue(oRow.getTruthValue());
        // TODO: Performanz erh�hen:
        // Hier werden in oRow schon hierarchisch alle Wahrheitswerte
        // der Altenativen vorgehalten - sie m�ssen im folgenden
        // Aufruf nicht erst erneut bestimmt werden!
        TCGDisjunctiveNormalForm oTmpDNF =
View Full Code Here

Examples of net.sf.parteg.base.testcasegraph.decisiontables.DecisionTableExpressionValueSelection

  public static TCGDisjunctiveNormalForm createDNFForExpressionAndDecisionTableRow(
      TCGOCLExpression in_oExpression,
      DecisionTableExpressionValueSelection in_oRow)
  {
    // create an expression copy
    DecisionTableExpressionValueSelection oNewRow = new DecisionTableExpressionValueSelection();
    // change the expression according to the value selection row (e.g. negated -> add "not")
    TCGOCLExpression oNewExpression = changeExpressionAccordingToDecisionTableRow(
        in_oExpression, in_oRow, oNewRow);

    // complete the value selection row in oNewRow for composite expressions
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.