AROMA 1.2

fr.inrialpes.exmo.aroma.algorithms
Class PostAlignment

java.lang.Object
  extended by fr.inrialpes.exmo.aroma.algorithms.PostAlignment

public class PostAlignment
extends Object


Constructor Summary
PostAlignment()
           
 
Method Summary
private static void addInMap(Map<AEntity,Set<AEntity>> map, AEntity e1, AEntity e2)
           
static void addToMatchCount(HashMap<AEntity,HashMap<AEntity,Integer>> counts, Set<AEntity> s1, Set<AEntity> s2)
           
static void alignParentWhenChildrenMatch(AEntity h1, AEntity h2, Set<MatchingRelation> s, AlignmentFactory af)
           
static void alignSyntax(AEntity h1, AEntity h2, Set<MatchingRelation> s, AlignmentFactory af, fr.inrialpes.exmo.ontosim.Measure<fr.inrialpes.exmo.ontosim.entity.model.Entity<?>> lexicalM, double threshold)
           
static Set<AEntity> children(Set<AEntity> entities)
           
static void closure(Set<MatchingRelation> s, AlignmentFactory af)
           
static void eqLabelAlign(AEntity h1, AEntity h2, Set<MatchingRelation> s, AlignmentFactory af)
           
static void eqLabelAlign2(AEntity h1, AEntity h2, Set<MatchingRelation> s, int threshold, AlignmentFactory af)
           
static void eqLabelAlign2(Set<AEntity> notAlignedh1, Set<AEntity> notAlignedh2, Set<MatchingRelation> s, int threshold, AlignmentFactory af)
           
static void eqLabelAlign3(AEntity h1, AEntity h2, Set<MatchingRelation> s, int threshold, AlignmentFactory af)
           
static void eqLabelAlign3(Set<AEntity> notAlignedh1, Set<AEntity> notAlignedh2, Set<MatchingRelation> s, int threshold, AlignmentFactory af)
           
static int getLayers(AEntity h1, Map<Integer,Set<AEntity>> layers)
           
static Set<AEntity> getMatched(Set<MatchingRelation> s)
           
static Set<AEntity> getNotMatched(AEntity h, boolean direct, Set<MatchingRelation> s)
           
static AEntity getObject(MatchingRelation mr, boolean object1)
           
static void incLabelAlign(AEntity h1, AEntity h2, Set<MatchingRelation> s, int threshold, AlignmentFactory af)
           
static void incLabelAlign(Set<AEntity> notAlignedh1, Set<AEntity> notAlignedh2, Set<MatchingRelation> s, int threshold, AlignmentFactory af)
           
static Map<fr.inrialpes.exmo.ontowrap.Annotation,AEntity> indexAnnots(Set<AEntity> entities, StemmedTermExtractor te)
           
static SortedMap<String,AEntity> indexAnnotsWL(Set<AEntity> entities, StemmedTermExtractor te)
           
static Set<AEntity> ppag(AEntity x, AEntity h1, AEntity h2, Map<AEntity,Set<AEntity>> ranges, boolean direct)
           
static Map<AEntity,Set<AEntity>> ranges(Set<MatchingRelation> s)
          built a map between each object and its correspondent entities according the implication relation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostAlignment

public PostAlignment()
Method Detail

ranges

public static Map<AEntity,Set<AEntity>> ranges(Set<MatchingRelation> s)
built a map between each object and its correspondent entities according the implication relation

Parameters:
s -
Returns:

addInMap

private static void addInMap(Map<AEntity,Set<AEntity>> map,
                             AEntity e1,
                             AEntity e2)

ppag

public static Set<AEntity> ppag(AEntity x,
                                AEntity h1,
                                AEntity h2,
                                Map<AEntity,Set<AEntity>> ranges,
                                boolean direct)

getNotMatched

public static Set<AEntity> getNotMatched(AEntity h,
                                         boolean direct,
                                         Set<MatchingRelation> s)

children

public static Set<AEntity> children(Set<AEntity> entities)

getMatched

public static Set<AEntity> getMatched(Set<MatchingRelation> s)

alignSyntax

public static void alignSyntax(AEntity h1,
                               AEntity h2,
                               Set<MatchingRelation> s,
                               AlignmentFactory af,
                               fr.inrialpes.exmo.ontosim.Measure<fr.inrialpes.exmo.ontosim.entity.model.Entity<?>> lexicalM,
                               double threshold)

eqLabelAlign

public static void eqLabelAlign(AEntity h1,
                                AEntity h2,
                                Set<MatchingRelation> s,
                                AlignmentFactory af)

eqLabelAlign2

public static void eqLabelAlign2(AEntity h1,
                                 AEntity h2,
                                 Set<MatchingRelation> s,
                                 int threshold,
                                 AlignmentFactory af)

eqLabelAlign2

public static void eqLabelAlign2(Set<AEntity> notAlignedh1,
                                 Set<AEntity> notAlignedh2,
                                 Set<MatchingRelation> s,
                                 int threshold,
                                 AlignmentFactory af)

indexAnnots

public static Map<fr.inrialpes.exmo.ontowrap.Annotation,AEntity> indexAnnots(Set<AEntity> entities,
                                                                             StemmedTermExtractor te)

eqLabelAlign3

public static void eqLabelAlign3(Set<AEntity> notAlignedh1,
                                 Set<AEntity> notAlignedh2,
                                 Set<MatchingRelation> s,
                                 int threshold,
                                 AlignmentFactory af)

eqLabelAlign3

public static void eqLabelAlign3(AEntity h1,
                                 AEntity h2,
                                 Set<MatchingRelation> s,
                                 int threshold,
                                 AlignmentFactory af)

indexAnnotsWL

public static SortedMap<String,AEntity> indexAnnotsWL(Set<AEntity> entities,
                                                      StemmedTermExtractor te)

incLabelAlign

public static void incLabelAlign(Set<AEntity> notAlignedh1,
                                 Set<AEntity> notAlignedh2,
                                 Set<MatchingRelation> s,
                                 int threshold,
                                 AlignmentFactory af)

incLabelAlign

public static void incLabelAlign(AEntity h1,
                                 AEntity h2,
                                 Set<MatchingRelation> s,
                                 int threshold,
                                 AlignmentFactory af)

getLayers

public static int getLayers(AEntity h1,
                            Map<Integer,Set<AEntity>> layers)

addToMatchCount

public static void addToMatchCount(HashMap<AEntity,HashMap<AEntity,Integer>> counts,
                                   Set<AEntity> s1,
                                   Set<AEntity> s2)

alignParentWhenChildrenMatch

public static void alignParentWhenChildrenMatch(AEntity h1,
                                                AEntity h2,
                                                Set<MatchingRelation> s,
                                                AlignmentFactory af)

getObject

public static AEntity getObject(MatchingRelation mr,
                                boolean object1)

closure

public static void closure(Set<MatchingRelation> s,
                           AlignmentFactory af)

AROMA 1.2

(C) Universite Pierre-Mendes-France, INRIA & Universite de Nantes 2006-2009