Class NfaFrontier<S,G,V,E>
java.lang.Object
org.aksw.jena_sparql_api.sparql_path2.NfaFrontier<S,G,V,E>
- Type Parameters:
S-V-E-
A nfa frontier maps states to the corresponding paths.
These paths are grouped by a key that is needed to advance the frontier.
Common group keys are either the target node of the path, or the direction of the predicate
- Author:
- raven
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic <S,G, V, E> void addAll(NfaFrontier<S, G, V, E> frontier, Set<S> states, Function<NestedPath<V, E>, G> pathGrouper, Collection<V> nodes) static <S,G, V, E> void addAll(NfaFrontier<S, G, V, E> frontier, Set<S> states, Function<NestedPath<V, E>, G> pathGrouper, V node) booleanprotected com.google.common.collect.Multimap<G,NestedPath<V, E>> getOrCreateStateInfo(S state) com.google.common.collect.Multimap<G,NestedPath<V, E>> inthashCode()booleanisEmpty()toString()
-
Field Details
-
paths
-
-
Constructor Details
-
NfaFrontier
public NfaFrontier()
-
-
Method Details
-
getCurrentStates
-
getPaths
-
getOrCreateStateInfo
-
add
-
isEmpty
public boolean isEmpty() -
addAll
public static <S,G, void addAllV, E> (NfaFrontier<S, G, V, E> frontier, Set<S> states, Function<NestedPath<V, E>, G> pathGrouper, V node) -
addAll
public static <S,G, void addAllV, E> (NfaFrontier<S, G, V, E> frontier, Set<S> states, Function<NestedPath<V, E>, G> pathGrouper, Collection<V> nodes) -
hashCode
public int hashCode() -
equals
-
toString
-