SimpleGraphBody

case class SimpleGraphBody[U, V, E](sources: Relation[E, U], target: E => U, outgoing: Relation[U, E], ingoing: Relation[U, E], edgeAction: (U, V) => E, unknowns: Iterable[U], combiner: (V, V) => V) extends GraphBody[U, V, E]

Standard implementation of a GraphBody where all the data about the graph is provided explicitly.

Value parameters:
combiner

rhe operation used from combining the contributions of different edges.

edgeAction

the action of and edge over an assignment.

ingoing

maps each unknown to the collection of edges departing from it.

outgoing

maps each unknown to the collection of edges arriving on it.

sources

maps each edge to its source unknowns.

target

each edge to its target unknown.

unknowns

the collection of unknowns (nodes) of this graph body.

Source:
GraphBody.scala
trait Product
trait Equals
trait GraphBody[U, V, E]
trait (U => V) => U => V
class Object
trait Matchable
class Any

Value members

Concrete methods

override def addLocalizedCombos(combos: ComboAssignment[U, V], unknownOrdering: Ordering[U]): GraphBody[U, V, E]
Definition Classes
Source:
GraphBody.scala
override def addLocalizedWarrowing(widenings: ComboAssignment[U, V], narrowings: ComboAssignment[U, V], unknownOrdering: Ordering[U])(using Domain[V]): U => V
Definition Classes
Source:
GraphBody.scala
override def apply(rho: U => V): U => V
Definition Classes
Source:
GraphBody.scala

Inherited methods

def andThen[A](g: (U => V) => A): (U => V) => A
Inherited from:
Function1
def compose[A](g: A => U => V): A => U => V
Inherited from:
Function1
Inherited from:
Product
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1