Table of Contents

Class MultiSuccessorList

Namespace
NMF.Expressions
Assembly
NMF.Expressions.dll

Denotes a default implementation of a successor list

public class MultiSuccessorList : ISuccessorList
Inheritance
MultiSuccessorList
Implements
Inherited Members
Extension Methods

Properties

AllSuccessors

public IEnumerable<INotifiable> AllSuccessors { get; }

Property Value

IEnumerable<INotifiable>

Count

The number of elements

public int Count { get; }

Property Value

int

HasSuccessors

True, if there is any successor, otherwise False

public bool HasSuccessors { get; }

Property Value

bool

IsAttached

True, if successors are attached, otherwise False

public bool IsAttached { get; }

Property Value

bool

this[int]

public INotifiable this[int index] { get; }

Parameters

index int

Property Value

INotifiable

Methods

GetSuccessor(int)

Gets the successor at the given index

public INotifiable GetSuccessor(int index)

Parameters

index int

The index

Returns

INotifiable

The DDG node with the given index

Set(INotifiable)

Add the given DDG node to the list

public void Set(INotifiable node)

Parameters

node INotifiable

The DDG node to add

SetDummy()

Sets a dummy

public void SetDummy()

Unset(INotifiable, bool)

Unset the given DDG node as successor

public void Unset(INotifiable node, bool leaveDummy = false)

Parameters

node INotifiable

the DDG node

leaveDummy bool

True, to leave the dummy in operation, otherwise False

UnsetAll()

Clear the list

public void UnsetAll()

Events

Attached

public event EventHandler Attached

Event Type

EventHandler

Detached

public event EventHandler Detached

Event Type

EventHandler