graph-rewriting-strategies-0.2.9: Evaluation strategies for port-graph rewriting systems
Safe HaskellSafe-Inferred
LanguageHaskell2010

GraphRewriting.Strategies.Control

Synopsis

Documentation

data Wrapper n Source #

Constructors

Wrapper 

Fields

Instances

Instances details
View Control (Wrapper n) Source # 
Instance details

Defined in GraphRewriting.Strategies.Control

Methods

inspect :: Wrapper n -> Control #

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

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

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

Defined in GraphRewriting.Strategies.Control

Methods

inspect :: Wrapper n -> v #

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

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

LeftmostOutermost n => LeftmostOutermost (Wrapper n) Source # 
Instance details

Defined in GraphRewriting.Strategies.LeftmostOutermost

Methods

lmoPort :: Wrapper n -> Maybe Port Source #

data Control Source #

Constructors

Control 

Fields

NoControl 

Instances

Instances details
View Control (Wrapper n) Source # 
Instance details

Defined in GraphRewriting.Strategies.Control

Methods

inspect :: Wrapper n -> Control #

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

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

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

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