Safe Haskell | None |
---|---|
Language | Haskell2010 |
Spark.Core.Internal.Paths
- class HasNodeName v where
- data PathEdge
- computePaths :: (HasCallStack, HasNodeName v) => ComputeDag v PathEdge -> Try (Map VertexId NodePath)
- assignPaths' :: (HasCallStack, HasNodeName v) => Map VertexId NodePath -> ComputeDag v e -> ComputeDag v e
- type Scopes = Map (Maybe VertexId) (Set VertexId)
- data ParentSplit a = ParentSplit {}
- mergeScopes :: Scopes -> Scopes -> Scopes
- gatherPaths :: Scopes -> Map VertexId [[VertexId]]
- iGetScopes0 :: forall a. Show a => [Vertex a] -> (Vertex a -> ParentSplit a) -> Scopes
Documentation
class HasNodeName v where Source #
Minimal complete definition
The types of edges for the calculation of paths. - same level parent -> the node should have the same prefix as its parents - inner edge -> the parent defines the scope of this node
Constructors
SameLevelEdge | |
InnerEdge |
computePaths :: (HasCallStack, HasNodeName v) => ComputeDag v PathEdge -> Try (Map VertexId NodePath) Source #
assignPaths' :: (HasCallStack, HasNodeName v) => Map VertexId NodePath -> ComputeDag v e -> ComputeDag v e Source #
data ParentSplit a Source #
Constructors
ParentSplit | |
Instances
Show a => Show (ParentSplit a) Source # | |
iGetScopes0 :: forall a. Show a => [Vertex a] -> (Vertex a -> ParentSplit a) -> Scopes Source #