Class MultiGraph

java.lang.Object
com.targomo.client.api.pojo.BaseGraph
com.targomo.client.api.pojo.MultiGraph
All Implemented Interfaces:
Serializable

public class MultiGraph extends BaseGraph
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:
  • Constructor Details

    • MultiGraph

      public MultiGraph(long networkID, MultiGraphDomainType domainType)
    • 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

      public Map<String,gnu.trove.map.TIntFloatMap> getLayers()
    • getLayerKeys

      public String[] getLayerKeys()
    • getDomainType

      public MultiGraphDomainType getDomainType()