Show / Hide Table of Contents

Class SingletonSuccessorList

Denotes a successor list for a constant

Inheritance
object
SingletonSuccessorList
Implements
ISuccessorList
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.dll
Syntax
public class SingletonSuccessorList : ISuccessorList

Properties

| Edit this page View Source

AllSuccessors

Declaration
public IEnumerable<INotifiable> AllSuccessors { get; }
Property Value
Type Description
IEnumerable<INotifiable>
| Edit this page View Source

Count

The number of elements

Declaration
public int Count { get; }
Property Value
Type Description
int
| Edit this page View Source

HasSuccessors

True, if there is any successor, otherwise False

Declaration
public bool HasSuccessors { get; }
Property Value
Type Description
bool
| Edit this page View Source

Instance

The static instance

Declaration
public static SingletonSuccessorList Instance { get; }
Property Value
Type Description
SingletonSuccessorList
| Edit this page View Source

IsAttached

True, if successors are attached, otherwise False

Declaration
public bool IsAttached { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

GetSuccessor(int)

Gets the successor at the given index

Declaration
public INotifiable GetSuccessor(int index)
Parameters
Type Name Description
int index

The index

Returns
Type Description
INotifiable

The DDG node with the given index

| Edit this page View Source

Set(INotifiable)

Add the given DDG node to the list

Declaration
public void Set(INotifiable node)
Parameters
Type Name Description
INotifiable node

The DDG node to add

| Edit this page View Source

SetDummy()

Sets a dummy

Declaration
public void SetDummy()
| Edit this page View Source

Unset(INotifiable, bool)

Unset the given DDG node as successor

Declaration
public void Unset(INotifiable node, bool leaveDummy = false)
Parameters
Type Name Description
INotifiable node

the DDG node

bool leaveDummy

True, to leave the dummy in operation, otherwise False

| Edit this page View Source

UnsetAll()

Clear the list

Declaration
public void UnsetAll()

Implements

ISuccessorList

Extension Methods

ExpressionExtensions.AsOne<T>(T)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX