Package com.aoindustries.aoserv.cluster.optimize
package com.aoindustries.aoserv.cluster.optimize
-
ClassDescriptionOptimizes the cluster using a best-first heuristic search.Adds up all the non-optimal states of the analyzed cluster giving more weight to higher level problems.Adds up all the non-optimal states of the analyzed cluster giving more weight to higher level problems.Adds up all the non-optimal states of the analyzed cluster giving more weight to higher level problems.A
HeuristicAlgorithm
generates a heuristic value for a providedAnalyzedCluster
.This simply returns g if the cluster is optimal or g+1 if it is optimal.Adds up all the non-optimal states of the analyzed cluster giving more weight to higher level problems.A list element.A swap between primary and secondary.A swap between primary and secondary.Accepts results from the optimized cluster.This simply returns a random number between 0 and 1.Simply counts the non-optimal nodes, addsg
to prefer shorter paths.A transition is one of the possible conversions of clusterConfiguration state.