DroidDiagram Programmer's Guide
AnnealLayoutInfo Members
Constructors Methods
 


The following tables list the members exposed by the AnnealLayoutInfo type.

 Public Constructors

  Name Description

AnnealLayoutInfo

 

 Public Methods

  Name Description

getBoundaryFactor

Gets a value indicating how important the distance from nodes to the layout area boundaries is relatively to the other criteria considered by the algorithm.

getCrossingEdgesCost

Gets a value specifying how important the low number of link crossings is relatively to the other criteria considered by the algorithm.

getDistributionFactor

Gets a value indicating the importance of node distribution relatively to the other criteria considered by the algorithm.

getEdgeLengthFactor

Gets a value specifying how important the short length of links is relatively to the other criteria considered by the algorithm.

getIterationsPerStage

Gets how many node shift iterations to perform at each stage of the algorithm.

getLayoutArea

Gets the size of the layout area.

getNodeEdgeCrossingCost

Gets a value specifying how important the low number of crossings of links with edges is relatively to the other criteria considered by the algorithm.

getNodeEdgeDistFactor

Gets a value specifying the importance of the distance between nodes and links relative to the other criteria considered by the algorithm.

getPrecision

Gets the cost calculations precision.

getRandomize

Gets a value indicating whether the nodes should be placed at random positions when the layout routine starts.

getStages

Gets how many cooling stages the algorithm should simulate.

getTemperature

Gets the initial temperature of the simulated annealing process.

getTemperatureScale

Gets how much the simulated temperature is decreased at each stage of the algorithm.

getWidthHeightRatio

Gets what width / height ratio the layout area should have.

setBoundaryFactor

Sets a value indicating how important the distance from nodes to the layout area boundaries is relatively to the other criteria considered by the algorithm.

setCrossingEdgesCost

Sets a value specifying how important the low number of link crossings is relatively to the other criteria considered by the algorithm.

setDistributionFactor

Sets a value indicating the importance of node distribution relatively to the other criteria considered by the algorithm.

setEdgeLengthFactor

Sets a value specifying how important the short length of links is relatively to the other criteria considered by the algorithm.

setIterationsPerStage

Sets how many node shift iterations to perform at each stage of the algorithm.

setLayoutArea

Sets the size of the layout area.

setNodeEdgeCrossingCost

Sets a value specifying how important the low number of crossings of links with edges is relatively to the other criteria considered by the algorithm.

setNodeEdgeDistFactor

Sets a value specifying the importance of the distance between nodes and links relative to the other criteria considered by the algorithm.

setPrecision

Sets the cost calculations precision. 1 speicifes highest precision. Accepted values are between 0.9 and 1. The algorithm completes faster when running with a lower precision, but produces slightly worse results.

setRandomize

Sets a value indicating whether the nodes should be placed at random positions when the layout routine starts.

setStages

Sets how many cooling stages the algorithm should simulate.

setTemperature

Sets the initial temperature of the simulated annealing process.

setTemperatureScale

Sets how much the simulated temperature is decreased at each stage of the algorithm.

setWidthHeightRatio

Sets what width / height ratio the layout area should have.

 See Also

AnnealLayoutInfo Class
com.mindfusion.diagramming.jlayout Namespace