Package com.targomo.client.api.pojo
Class MultiGraph
java.lang.Object
com.targomo.client.api.pojo.BaseGraph
com.targomo.client.api.pojo.MultiGraph
- All Implemented Interfaces:
Serializable
The multigraph object that is returned when doing a Multigraph request with JSON serialization.
It extends the BaseGraph with values for either the nodes or the edges, depending on the domainType (NODE or EDGE).
- See Also:
-
Field Summary
Fields inherited from class com.targomo.client.api.pojo.BaseGraph
edges, nodes, supportingPoints -
Constructor Summary
ConstructorsConstructorDescriptionMultiGraph(long networkID, MultiGraphDomainType domainType) MultiGraph(long networkID, gnu.trove.map.TIntObjectMap<double[]> nodes, Map<String, gnu.trove.map.TIntFloatMap> layers, gnu.trove.map.TIntObjectMap<int[]> edges, gnu.trove.map.TIntObjectMap<double[][]> supportingPoints, MultiGraphDomainType domainType) -
Method Summary
Methods inherited from class com.targomo.client.api.pojo.BaseGraph
getEdges, getEmptyImmutableBaseGraph, getNetworkID, getNodes, getSupportingPoints
-
Constructor Details
-
MultiGraph
-
MultiGraph
public MultiGraph(long networkID, gnu.trove.map.TIntObjectMap<double[]> nodes, Map<String, gnu.trove.map.TIntFloatMap> layers, gnu.trove.map.TIntObjectMap<int[]> edges, gnu.trove.map.TIntObjectMap<double[][]> supportingPoints, MultiGraphDomainType domainType)
-
-
Method Details
-
getLayers
-
getLayerKeys
-
getDomainType
-