The State type exposes the following members.

Methods

  NameDescription
Public methodBranch
Branchs this node. Also sets the State.BestValue and State.BestSolution variables if arrive to such situation in the branch call. And also do a pasive Prune, i.e; it doesn't add childs worst than the State.BestSolution state.
Public methodCompareTo(Object)
Compare this State with the specified.
Public methodCompareTo(State)
Compare this State with the specified. Used at PriorityQueue.
Public methodEquals
Determina si el objeto Object especificado es igual al objeto Object actual.
(Inherited from Object.)
Protected methodFinalize
Permite que un objeto Object intente liberar recursos y realizar otras operaciones de limpieza antes de que el objeto Object sea reclamado por el recolector de elementos no utilizados.
(Inherited from Object.)
Public methodfx
Cost function for a possible child node. It takes into account the possible next weight in the path.
Public methodGetHashCode
Actúa como función hash para un tipo concreto.
(Inherited from Object.)
Public methodGetPathValue
Gets the total weight of the current path for this state. (Real value of fitness function). Use only this functions in strange situations, not branching.
Public methodGetType
Obtiene el objeto Type de la instancia actual.
(Inherited from Object.)
Protected methodMemberwiseClone
Crea una copia superficial del objeto Object actual.
(Inherited from Object.)
Protected methodPathContainsNode
Gets a value indicating if in the current path exists a node with the specified id.
Public methodPrint
Print at the console the string representation for this State.
Public methodToString
Gets the String representation for this State.
(Overrides Object..::..ToString()()()().)

See Also