/** * Compute the set of exclusive ancestors of a class. Exclusive process: the * focused vertex will NOT be included in the set of ancestors. * * @param v the vertex of interest * @return the exclusive set of ancestors of the concept (empty set if any). */ public Set<URI> getAncestorsExc(URI v) { return getRV(v); }
/** * Compute the set of exclusive ancestors of a class. Exclusive process: the * focused vertex will NOT be included in the set of ancestors. * * @param v the vertex of interest * @return the exclusive set of ancestors of the concept (empty set if any). */ public Set<URI> getAncestorsExc(URI v) { return getRV(v); }
/** * Compute the set of inclusive ancestors of a class. The focused vertex * will be included in the set of ancestors. * * @param v the vertex of interest * @return the set composed of the ancestors of the concept + the concept. */ public Set<URI> getAncestorsInc(URI v) { Set<URI> set = getRV(v); set.add(v); return set; }
/** * Compute the set of inclusive ancestors of a class. The focused vertex * will be included in the set of ancestors. * * @param v the vertex of interest * @return the set composed of the ancestors of the concept + the concept. */ public Set<URI> getAncestorsInc(URI v) { Set<URI> set = getRV(v); set.add(v); return set; }