ExtractWalkEdgesFromHop

See javadoc - uk.gov.gchq.gaffer.data.graph.function.walk.ExtractWalkEdgesFromHop

Available since Gaffer version 1.2.0

An ExtractWalkEdgesFromHop will extract the Set of Edges at a given hop, from a provided Walk

Examples

Extract single set of edges from walk

Java
JSON
Full JSON
Python
final ExtractWalkEdgesFromHop function = new ExtractWalkEdgesFromHop(1);
{
  "class" : "ExtractWalkEdgesFromHop",
  "hop" : 1
}
{
  "class" : "uk.gov.gchq.gaffer.data.graph.function.walk.ExtractWalkEdgesFromHop",
  "hop" : 1
}
g.ExtractWalkEdgesFromHop( 
  hop=1 
)

Input type:

uk.gov.gchq.gaffer.data.graph.Walk

Example inputs:

Input TypeInputResult TypeResult
uk.gov.gchq.gaffer.data.graph.Walk[[Edge[source=A,destination=B,directed=true,group=BasicEdge,properties=Properties[]]], [Edge[source=B,destination=C,directed=true,group=EnhancedEdge,properties=Properties[]], Edge[source=B,destination=C,directed=true,group=BasicEdge,properties=Properties[]]], [Edge[source=C,destination=A,directed=true,group=BasicEdge,properties=Properties[]]]]java.util.HashSet[Edge[source=B,destination=C,directed=true,group=EnhancedEdge,properties=Properties[]], Edge[source=B,destination=C,directed=true,group=BasicEdge,properties=Properties[]]]

results matching ""

    No results matching ""