public static <N1, E1, NP1, EP1, N2, E2, NP2, EP2> Mapping<N1, N2> copyUniversalPlain(UniversalGraph<N1, E1, NP1, EP1> in, MutableGraph<N2, E2, NP2, EP2> out, Mapping<? super NP1, ? extends NP2> npConversion, Mapping<? super EP1, ? extends EP2> epConversion) { Mapping<? super N1, ? extends NP2> npMapping = Mappings.compose(in::getNodeProperty, npConversion); Mapping<? super E1, ? extends EP2> epMapping = Mappings.compose(in::getEdgeProperty, epConversion); return copyPlain(in, out, npMapping, epMapping); }
public static <N1, E1, NP1, EP1, N2, E2, NP2, EP2> Mapping<N1, N2> copyUniversalPlain(UniversalGraph<N1, E1, NP1, EP1> in, MutableGraph<N2, E2, NP2, EP2> out, Mapping<? super NP1, ? extends NP2> npConversion, Mapping<? super EP1, ? extends EP2> epConversion) { Mapping<? super N1, ? extends NP2> npMapping = Mappings.compose(in::getNodeProperty, npConversion); Mapping<? super E1, ? extends EP2> epMapping = Mappings.compose(in::getEdgeProperty, epConversion); return copyPlain(in, out, npMapping, epMapping); }
public static <N1, E1, NP1, EP1, N2, E2, NP2, EP2> Mapping<N1, N2> copyUniversalTraversal(UniversalIndefiniteGraph<N1, E1, NP1, EP1> in, MutableGraph<N2, E2, NP2, EP2> out, TraversalOrder order, int limit, Collection<? extends N1> initialNodes, Mapping<? super NP1, ? extends NP2> npConversion, Mapping<? super EP1, ? extends EP2> epConversion) { Mapping<? super N1, ? extends NP2> npMapping = Mappings.compose(in::getNodeProperty, npConversion); Mapping<? super E1, ? extends EP2> epMapping = Mappings.compose(in::getEdgeProperty, epConversion); return copyTraversal(in, out, order, limit, initialNodes, npMapping, epMapping); }
public static <N1, E1, NP1, EP1, N2, E2, NP2, EP2> Mapping<N1, N2> copyUniversalTraversal(UniversalIndefiniteGraph<N1, E1, NP1, EP1> in, MutableGraph<N2, E2, NP2, EP2> out, TraversalOrder order, int limit, Collection<? extends N1> initialNodes, Mapping<? super NP1, ? extends NP2> npConversion, Mapping<? super EP1, ? extends EP2> epConversion) { Mapping<? super N1, ? extends NP2> npMapping = Mappings.compose(in::getNodeProperty, npConversion); Mapping<? super E1, ? extends EP2> epMapping = Mappings.compose(in::getEdgeProperty, epConversion); return copyTraversal(in, out, order, limit, initialNodes, npMapping, epMapping); }