Package PrologPlusCG.cg

Examples of PrologPlusCG.cg.CG.addConcept()


          // Make a CG out of the concept.
          // This is because env.unification.unifier does not do the
          // special variable-substitution magic on uConcept.
          CG gTmp = new CG();
          gTmp.addConcept(concCour);

          // Inverser les arg de unifier comme pour la primitive "eq"
          resultat = env.unification
              .unify(new PrologData(uCG, gTmp), Arg2.index,
                  pTermRes.pTerm.getAt(1), pTermRes.index);
View Full Code Here


          // Make a CG out of the concept.
          // This is because env.unification.unifier does not do the
          // special variable-substitution magic on uConcept.
          CG gTmp = new CG();
          gTmp.addConcept(concCour);

          // Inverser les arg de unifier comme pour la primitive "eq"
          resultat = env.unification
              .unify(new PrologData(uCG, gTmp), Arg2.index,
                  pTermRes.pTerm.getAt(1), pTermRes.index);
View Full Code Here

      break;
     
      case uConcept: {
        if (valueIndexRight.pData.typeOfData == uCG) {
          CG gTmp = new CG();
          gTmp.addConcept((Concept) pData1Left);
          bUnifyCurCG = true;
         
          UnifyCG uneUnifCG = new UnifyCG(env);
         
          try {
View Full Code Here

      break;
     
      case uCG: {
        if (valueIndexRight.pData.typeOfData == uConcept) {
          CG gTmp = new CG();
          gTmp.addConcept((Concept) pData1Right);
          bUnifyCurCG = true;
         
          UnifyCG uneUnifCG = new UnifyCG(env);
         
          try {
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.