graph-rewriting-strategies-0.2.6: Evaluation strategies for port-graph rewriting systems

Safe HaskellNone
LanguageHaskell98

GraphRewriting.Strategies.Control

Synopsis

Documentation

data Wrapper n Source #

Constructors

Wrapper 

Fields

Instances

View v n => View v (Wrapper n) Source # 

Methods

inspect :: Wrapper n -> v #

update :: v -> Wrapper n -> Wrapper n #

adjust :: (v -> v) -> Wrapper n -> Wrapper n #

View Control (Wrapper n) Source # 

Methods

inspect :: Wrapper n -> Control #

update :: Control -> Wrapper n -> Wrapper n #

adjust :: (Control -> Control) -> Wrapper n -> Wrapper n #

LeftmostOutermost n => LeftmostOutermost (Wrapper n) Source # 

Methods

lmoPort :: Wrapper n -> Maybe Port Source #

data Control Source #

Constructors

Control 

Fields

NoControl 

Instances

wrapGraph :: Graph n -> Graph (Wrapper n) Source #

Wraps the nodes of a graph, augmenting them with control information