Objects can be created by calls of the form
new("dg.FactorVertexList", ...)
.
returnFactorVerticesAndEdges(Vertices, factors = NULL, types = "Generator", factorVertexColor = "default", factorEdgeColor = "DarkOliveGreen", fixedFactorPositions = FALSE, factorClasses = validFactorClasses())
Vertices
, each
containing the class dg.Vertex
. factors
.
Each item in the list is a vector of the indices of
vertices of a factor.
types
of the factors. Either a single
type
or a list of the same length as factors
.
Each item of types
should match the labels of
factorClasses
, and is used to set the class of
the factor vertex.
factorVertexColor
of the factor vertices. factorEdgeColor
of the factor edges. fixedFactorPositions
is setto TRUE then the factor
vertices will not follow the moved vertices. factorClasses
. dg.FactorVertex
. dg.FactorEdge
..Data
:"list"
. "dg.NodeList"
, directly.
Class "dg.list"
, directly.
Class "list"
, from data part.
Class "vector"
, by class "dg.NodeList"
. Class "vector"
, by class "dg.list"
.
Class "vector"
, by class "list"
.factors
is a list of vectors identifying
the factors
, or generators
.
Each item in the list is a vector with of the indices (or names)
of the vertices of a factor, or variables of a generator.
A factor vertex is made for each factor, and factor edges
from this factor vertex to the vertices of the factor
or added to the factor edge list.
Also the edges between pairs of the vertices in the factors
are returned.