Package PrologPlusCG.cg

Examples of PrologPlusCG.cg.Concept


    }

    // ------------------------------------------------------------------
    // ---- determine points d'entree par identite des referents ////
    public boolean identRef(CG G1, int nivG1, CG G2, int nivG2, Vector<Concept> vConcs) {
        Concept C1 = null;
        Concept C2 = null;
        String sRef1;
        Object sRef2;
        boolean bResult = false;

        // Premiere passe pour identifier un referent de G1 avec un ref de G2 ou
View Full Code Here


        return bResult;
    }

    boolean unificationIsValid(byte BranchDirection, Concept C2,
        Relation rel1, Relation rel2) {
        Concept Ca1;
        Concept Ca2;
        boolean bResult = false;

        if (BranchDirection == e_inComeBranch) {
            Ca1 = rel1.m_concSource;
            Ca2 = rel2.m_concSource;
View Full Code Here

            if (bAlreadyUnified) {
                return false;
            }

            // On a localise une branche qu'on pourrait considerer pour l'unification
            Concept Ca1;

            // On a localise une branche qu'on pourrait considerer pour l'unification
            Concept Ca2;
            Ca1 = Ca2 = null;

            if (BranchDirection == e_inComeBranch) {
                Ca1 = rel1.m_concSource;
                Ca2 = rel2.m_concSource;
View Full Code Here

    CG newCG = new CG();
   
    Vector<ConceptPair> listOfConceptPairs = new Vector<ConceptPair>(5, 2);
   
    // ----- copie liste des concepts
    Concept conc;
   
    // ----- copie liste des concepts
    Concept ncept;
   
    for (Enumeration<Concept> e = m_vctConcepts.elements(); e.hasMoreElements();) {
      conc = (Concept) e.nextElement();
      ncept = conc.myCopy();
     
View Full Code Here

  public void removeRelation(Relation rel) {
    m_vctRelations.removeElement(rel);
  }
 
  public void removeSpecialIdent() {
    Concept conc;
   
    for (Enumeration<Concept> e = m_vctConcepts.elements(); e.hasMoreElements();) {
      conc = (Concept) e.nextElement();
     
      if ((conc.m_pdReferent != null) &&
View Full Code Here

TOP

Related Classes of PrologPlusCG.cg.Concept

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.