Package com.gengoai.graph.io
Interface EdgeEncoder<V>
-
- Type Parameters:
V
- the vertex type
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface EdgeEncoder<V> extends Serializable
Encodes an edge into a series of properties. For example, an edge weight would be encoded with a key of
weight
with a string representation of the value.- Author:
- David B. Bracewell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
encode(Edge<V> edge)
Encodes the properties of an endge into map.
-