| Package | flare.analytics.cluster |
| Class | public class CommunityStructure |
| Inheritance | CommunityStructure HierarchicalCluster Operator |
| Property | Defined by | ||
|---|---|---|---|
![]() | clusterField : String The property in which to store cluster indices.
| HierarchicalCluster | |
![]() | clusterTree : Tree
The cluster tree of detected community structures.
| HierarchicalCluster | |
![]() | criteria : Array Computed criterion values for each merge in the cluster tree.
| HierarchicalCluster | |
| edgeWeights : Function = null A function defining edge weights in the graph.
| CommunityStructure | ||
![]() | enabled : Boolean Indicates if the operator is enabled or disabled.
| Operator | |
![]() | group : String The data group to cluster.
| HierarchicalCluster | |
![]() | parameters : Object
Sets parameter values for this operator.
| Operator | |
![]() | sequenceField : String The property in which to store sequence indices.
| HierarchicalCluster | |
![]() | visualization : Visualization
The visualization processed by this operator.
| Operator | |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new community structure instance
| CommunityStructure | ||
![]() |
applyParameters(op:IOperator, params:Object):void
[static]
Static method that applies parameter settings to an operator.
| Operator | |
|
Calculates the community structure clustering.
| CommunityStructure | ||
![]() |
labelNodes(merge:int = -1):void
Labels nodes with their cluster membership, determined by
the given merge number.
| HierarchicalCluster | |
|
operate(t:Transitioner = null):void
Performs an operation over the contents of a visualization.
| CommunityStructure | ||
![]() |
setup():void
Setup method invoked whenever this operator's visualization
property is set.
| Operator | |
| edgeWeights | property |
public var edgeWeights:Function = nullA function defining edge weights in the graph.
| CommunityStructure | () | constructor |
public function CommunityStructure()Creates a new community structure instance
| calculate | () | method |
public function calculate(list:DataList, w:Function = null):voidCalculates the community structure clustering. As a result of this method, a cluster tree will be computed and graph nodes will be annotated with both community and sequence indices.
Parameterslist:DataList — the data list to cluster
|
|
w:Function (default = null) — an edge weighting function. If null, each edge will be
given weight one.
|
| operate | () | method |
public override function operate(t:Transitioner = null):voidPerforms an operation over the contents of a visualization.
Parameterst:Transitioner (default = null) — a Transitioner instance for collecting value updates.
|