Class AllenAlgebraMapper

    • Constructor Detail

      • AllenAlgebraMapper

        public AllenAlgebraMapper()
    • Method Detail

      • union

        protected static Set<String> union​(Set<String> set1,
                                           Set<String> set2)
        Performs union between two sets of uris.
        Parameters:
        set1 - , first set of uris
        set2 - , second set of uris
        Returns:
        the union of set1 and set2
      • intersection

        protected static Set<String> intersection​(Set<String> set1,
                                                  Set<String> set2)
        Performs intersection between two sets of uris.
        Parameters:
        set1 - , first set of uris
        set2 - , second set of uris
        Returns:
        the intersection of set1 and set2
      • difference

        protected static Set<String> difference​(Set<String> set1,
                                                Set<String> set2)
        Performs difference between two sets of uris.
        Parameters:
        set1 - , first set of uris
        set2 - , second set of uris
        Returns:
        the difference of set1 and set2
      • getRequiredAtomicRelations

        public ArrayList<Integer> getRequiredAtomicRelations()
        Returns the set of atomic relations.
        Returns:
        requiredAtomicRelations