GrammarScope  4.0.0
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Package Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
grammarscope.jung2.layout.ISOMLayout0< V, E > Class Template Reference
Inheritance diagram for grammarscope.jung2.layout.ISOMLayout0< V, E >:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.jung2.layout.ISOMLayout0< V, E >:
Collaboration graph
[legend]

Classes

class  ISOMVertexData
 

Public Member Functions

 ISOMLayout0 (final Graph< V, E > g)
 
void initialize ()
 
void step ()
 
boolean isIncremental ()
 
boolean done ()
 
void reset ()
 
String getStatus ()
 

Protected Member Functions

ISOMVertexData getISOMVertexData (final V v)
 

Protected Attributes

final GraphElementAccessor< V, E > elementAccessor = new RadiusGraphElementAccessor<>()
 

Package Attributes

final Map< V, ISOMVertexDataisomVertexData = LazyMap.decorate(new HashMap<>(), ISOMVertexData::new)
 

Private Member Functions

synchronized void updateParameters ()
 
synchronized void adjust ()
 
synchronized void adjustVertex (final V v, final Point2D tempXYD)
 

Private Attributes

final int maxEpoch
 
int epoch
 
final int radiusConstantTime
 
int radius
 
final int minRadius
 
double adaption
 
final double initialAdaption
 
final double minAdaption
 
final double coolingFactor
 
final List< V > queue = new ArrayList<>()
 

Static Private Attributes

static final int MARGIN = 10
 
static final int MAX_EPOCH = 2000
 
static final int RADIUS_CONSTANT_TIME = 100
 
static final int MIN_RADIUS = 1
 
static final int REPULSE = 3
 
static final double INITIAL_ADAPTION = 0.9D
 
static final double MIN_ADAPTION = 0.0D
 
static final double COOLING_FACTOR = 2.0D
 
static final int EPOCH0 = 1
 
static final int RADIUS0 = 5
 

Detailed Description

Implements a self-organizing map layout algorithm, based on Meyer's self-organizing graph methods.

Author
Yan Biao Boey

Constructor & Destructor Documentation

◆ ISOMLayout0()

grammarscope.jung2.layout.ISOMLayout0< V, E >.ISOMLayout0 ( final Graph< V, E >  g)

Creates an ISOMLayout instance for the specified graph g.

Parameters
ggraph

Member Function Documentation

◆ adjust()

synchronized void grammarscope.jung2.layout.ISOMLayout0< V, E >.adjust ( )
private

◆ adjustVertex()

synchronized void grammarscope.jung2.layout.ISOMLayout0< V, E >.adjustVertex ( final V  v,
final Point2D  tempXYD 
)
private

◆ done()

boolean grammarscope.jung2.layout.ISOMLayout0< V, E >.done ( )

Returns true if the vertex positions are no longer being updated. Currently ISOMLayout stops updating vertex positions after a certain number of iterations have taken place.

Returns
true if the vertex position updates have stopped, false otherwise

◆ getISOMVertexData()

ISOMVertexData grammarscope.jung2.layout.ISOMLayout0< V, E >.getISOMVertexData ( final V  v)
protected

◆ getStatus()

String grammarscope.jung2.layout.ISOMLayout0< V, E >.getStatus ( )

Returns the current number of epochs and execution status, as a string.

Returns
status string

◆ initialize()

void grammarscope.jung2.layout.ISOMLayout0< V, E >.initialize ( )

◆ isIncremental()

boolean grammarscope.jung2.layout.ISOMLayout0< V, E >.isIncremental ( )

This one is an incremental visualization.

Returns
true is the layout algorithm is incremental, false otherwise

◆ reset()

void grammarscope.jung2.layout.ISOMLayout0< V, E >.reset ( )

Resets the layout iteration count to 0, which allows the layout algorithm to continue updating vertex positions.

◆ step()

Advances the current positions of the graph elements.

◆ updateParameters()

synchronized void grammarscope.jung2.layout.ISOMLayout0< V, E >.updateParameters ( )
private

Member Data Documentation

◆ adaption

double grammarscope.jung2.layout.ISOMLayout0< V, E >.adaption
private

◆ COOLING_FACTOR

final double grammarscope.jung2.layout.ISOMLayout0< V, E >.COOLING_FACTOR = 2.0D
staticprivate

◆ coolingFactor

final double grammarscope.jung2.layout.ISOMLayout0< V, E >.coolingFactor
private

◆ elementAccessor

final GraphElementAccessor<V, E> grammarscope.jung2.layout.ISOMLayout0< V, E >.elementAccessor = new RadiusGraphElementAccessor<>()
protected

◆ epoch

int grammarscope.jung2.layout.ISOMLayout0< V, E >.epoch
private

◆ EPOCH0

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.EPOCH0 = 1
staticprivate

◆ INITIAL_ADAPTION

final double grammarscope.jung2.layout.ISOMLayout0< V, E >.INITIAL_ADAPTION = 0.9D
staticprivate

◆ initialAdaption

final double grammarscope.jung2.layout.ISOMLayout0< V, E >.initialAdaption
private

◆ isomVertexData

final Map<V, ISOMVertexData> grammarscope.jung2.layout.ISOMLayout0< V, E >.isomVertexData = LazyMap.decorate(new HashMap<>(), ISOMVertexData::new)
package

Vertex to ISOM data

◆ MARGIN

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.MARGIN = 10
staticprivate

◆ MAX_EPOCH

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.MAX_EPOCH = 2000
staticprivate

◆ maxEpoch

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.maxEpoch
private

◆ MIN_ADAPTION

final double grammarscope.jung2.layout.ISOMLayout0< V, E >.MIN_ADAPTION = 0.0D
staticprivate

◆ MIN_RADIUS

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.MIN_RADIUS = 1
staticprivate

◆ minAdaption

final double grammarscope.jung2.layout.ISOMLayout0< V, E >.minAdaption
private

◆ minRadius

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.minRadius
private

◆ queue

final List<V> grammarscope.jung2.layout.ISOMLayout0< V, E >.queue = new ArrayList<>()
private

◆ radius

int grammarscope.jung2.layout.ISOMLayout0< V, E >.radius
private

◆ RADIUS0

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.RADIUS0 = 5
staticprivate

◆ RADIUS_CONSTANT_TIME

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.RADIUS_CONSTANT_TIME = 100
staticprivate

◆ radiusConstantTime

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.radiusConstantTime
private

◆ REPULSE

final int grammarscope.jung2.layout.ISOMLayout0< V, E >.REPULSE = 3
staticprivate

The documentation for this class was generated from the following file: