namespace EdgeValuedGraph
A type-invariant immutable valued edge (undirected) graph. See the Graph documentation and the EdgeValuedGraph API documentation
Companion interface: EdgeValuedGraph<N,V>
Interfaces
| Name | Description |
|---|---|
EdgeValuedGraph.Builder<N,V> | A mutable EdgeValuedGraph builder used to efficiently create new immutable instances. See the Graph documentation and the EdgeValuedGraph.Builder API documentation |
EdgeValuedGraph.Context<UN> | The EdgeValuedGraph's Context instance that serves as a factory for all related immutable instances and builders. |
EdgeValuedGraph.NonEmpty<N,V> | A non-empty type-invariant immutable valued edge (undirected) graph. See the Graph documentation and the EdgeValuedGraph API documentation |
EdgeValuedGraph.Types | Utility interface that provides higher-kinded types for this collection. |
Static Methods
createContext
Returns a new EdgeValuedGraph context instance based on the given options.
createContextoptions.Definition
createContext<UN>(options: {
linkMapContext: RMap.Context<UN>;
linkConnectionsContext: RMap.Context<UN>;
}): EdgeValuedGraph.Context<UN>;
Type parameters
| Name | Description |
|---|---|
| UN | the upper node type for which the context can create instances |
Parameters
| Name | Type | Description |
|---|---|---|
options | {linkMapContext: RMap.Context<UN>;linkConnectionsContext: RMap.Context<UN>;} | an object containing the following properties: - linkMapContext: the map context to use to maintain link maps - linkConnectionsContext: the map context to use to maintain link connection maps |