Each field can be accessed by the dot (.) operation, or by the GET function. The GET function can work on multiple
instances simultaneously. Most fields, except for those that are Dependent, can be modified using the dot (.)
operation, or by the SET function.
|
|
Field |
Description |
Type |
Default |
Dedicated Get/Set Function |
|
|
|
l_node |
left-descendant of each node |
double vector |
[] |
|
|
|
|
r_node |
right-descendant of each node |
double vector |
[] |
|
|
|
|
parent |
Inherited from tree. parent of each node |
double vector |
[] |
|
|
|
|
thd |
Inherited from digraph. target-height-differences matrix |
double matrix |
[] |
|
|
|
|
name |
Inherited from graph. name of object, should be short and used as identifier. This field will never be empty. |
string |
'unnamed' |
|
|
|
|
description |
Inherited from graph. verbal description of the class content. |
string |
'' |
|
|
|
|
source |
Inherited from graph. verbal description of the source of information. |
string |
'' |
|
|
|
|
type |
Inherited from graph.
type of graph.
|
string |
'general graph' |
|
|
|
|
node_name |
Inherited from graph.
names of all nodes.
|
cell array of strings |
{} |
nodenames |
|
|
|
node_mass |
Inherited from graph.
mass of each node.
|
double vector |
[] |
|
|
|
|
node_cfield |
Inherited from graph.
user-specific node customized fields.
|
cell array of values |
{} |
|
|
|
|
node_cfield_name |
Inherited from graph.
names of node customized fields.
|
cell array of strings |
{} |
|
|
|
|
weights |
Inherited from graph.
symmetric sparse weight matrix.
|
double matrix |
[] |
|
|
|
Dependent |
no_nodes |
Inherited from graph.
number of nodes in the graph.
|
integer scalar |
0 |
nonodes |
|
|
Dependent |
no_node_cfields |
Inherited from graph.
number of customized fields.
|
integer scalar |
0 |
|
|
|
Dependent |
no_edges |
Inherited from graph.
number of edges in the graph.
|
integer vector |
0 |
noedges |
|