dg.Generator-class: Classes dg.Generator, dg.DiscreteGenerator,...

Description Slots Extends Methods Author(s) See Also

Description

The class for factor vertices for general terms, discrete terms, linear terms, and quadratic terms.

The class adds the draw method to the dg.FactorVertex-class.

The objects of the classes are usually created by the function returnFactorVerticesAndEdges.

Slots

vertex.indices:

Object of class "numeric", see "dg.FactorVertex".

fixed.positions:

Object of class "logical", see "dg.FactorVertex".

name:

Object of class "character", see "dg.Vertex".

index:

Object of class "numeric", see "dg.Vertex".

position:

Object of class "numeric", see "dg.Vertex".

blockindex:

Object of class "numeric", see "dg.Vertex".

stratum:

Object of class "numeric", see "dg.Vertex".

constrained:

Object of class "logical", see "dg.Vertex".

color:

Object of class "character", see "dg.Vertex". Default is yellow for general, cyan for discrete, magenta for linear, and blue for quadratic terms.

label:

Object of class "character", see "dg.Vertex".

label.position:

Object of class "numeric", see "dg.Vertex".

Extends

Class "dg.FactorVertex", directly. Class "dg.Vertex", directly. Class "dg.Node", directly.

Methods

draw

signature(object = "dg.Generator"): ...

draw

signature(object = "dg.DiscreteGenerator"): ...

draw

signature(object = "dg.LinearGenerator"): ...

draw

signature(object = "dg.QuadraticGenerator"): ...

Author(s)

Jens Henrik Badsberg

See Also

newFactor, returnFactorVerticesAndEdges, dg.FactorVertex-class, dg.Vertex-class, dg.Node-class.


dynamicGraph documentation built on May 29, 2017, 8:01 p.m.