Issie logo Issie

SimGraph Module

The one way in and out of a SimulationGraph, in ComponentIds. The key-carrying functions WRAP on the way out, which is free under Fable ([]) and free under .NET only while ComponentId is a struct. So where a caller does not need the key there is a value-only form beside each - `values`, `iterValues`, `foldValues`, `mapValues` - and the hot iterations use those. Nothing outside this module names the int.

Functions and values

Function or value Description

SimGraph.add arg1 comp g

Full Usage: SimGraph.add arg1 comp g

Parameters:
Returns: SimulationGraph
arg0 : ComponentId
comp : SimulationComponent
g : SimulationGraph
Returns: SimulationGraph

SimGraph.containsKey arg1 g

Full Usage: SimGraph.containsKey arg1 g

Parameters:
Returns: bool
arg0 : ComponentId
g : SimulationGraph
Returns: bool

SimGraph.count g

Full Usage: SimGraph.count g

Parameters:
Returns: int
g : SimulationGraph
Returns: int

SimGraph.empty

Full Usage: SimGraph.empty

Returns: SimulationGraph
Returns: SimulationGraph

SimGraph.filter f g

Full Usage: SimGraph.filter f g

Parameters:
Returns: SimulationGraph
f : ComponentId -> SimulationComponent -> bool
g : SimulationGraph
Returns: SimulationGraph

SimGraph.filterValues f g

Full Usage: SimGraph.filterValues f g

Parameters:
Returns: SimulationGraph
f : SimulationComponent -> bool
g : SimulationGraph
Returns: SimulationGraph

SimGraph.find arg1 g

Full Usage: SimGraph.find arg1 g

Parameters:
Returns: SimulationComponent
arg0 : ComponentId
g : SimulationGraph
Returns: SimulationComponent

SimGraph.fold f state g

Full Usage: SimGraph.fold f state g

Parameters:
Returns: 'S
f : 'S -> ComponentId -> SimulationComponent -> 'S
state : 'S
g : SimulationGraph
Returns: 'S

SimGraph.foldValues f state g

Full Usage: SimGraph.foldValues f state g

Parameters:
Returns: 'S
f : 'S -> SimulationComponent -> 'S
state : 'S
g : SimulationGraph
Returns: 'S

SimGraph.isEmpty g

Full Usage: SimGraph.isEmpty g

Parameters:
Returns: bool
g : SimulationGraph
Returns: bool

SimGraph.iter f g

Full Usage: SimGraph.iter f g

Parameters:
f : ComponentId -> SimulationComponent -> unit
g : SimulationGraph

SimGraph.iterValues f g

Full Usage: SimGraph.iterValues f g

Parameters:
f : SimulationComponent -> unit
g : SimulationGraph

SimGraph.map f g

Full Usage: SimGraph.map f g

Parameters:
Returns: SimulationGraph
f : ComponentId -> SimulationComponent -> SimulationComponent
g : SimulationGraph
Returns: SimulationGraph

SimGraph.mapValues f g

Full Usage: SimGraph.mapValues f g

Parameters:
Returns: SimulationGraph
f : SimulationComponent -> SimulationComponent
g : SimulationGraph
Returns: SimulationGraph

SimGraph.ofList pairs

Full Usage: SimGraph.ofList pairs

Parameters:
Returns: SimulationGraph
pairs : (ComponentId * SimulationComponent) list
Returns: SimulationGraph

SimGraph.toList g

Full Usage: SimGraph.toList g

Parameters:
Returns: (ComponentId * SimulationComponent) list
g : SimulationGraph
Returns: (ComponentId * SimulationComponent) list

SimGraph.tryFind arg1 g

Full Usage: SimGraph.tryFind arg1 g

Parameters:
Returns: SimulationComponent option
arg0 : ComponentId
g : SimulationGraph
Returns: SimulationComponent option

SimGraph.values g

Full Usage: SimGraph.values g

Parameters:
Returns: ICollection<SimulationComponent>
g : SimulationGraph
Returns: ICollection<SimulationComponent>

Type something to start searching.