The State2 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.
(Overrides State..::..Branch()()()().)
Public methodCompareTo(Object)
Compare this State with the specified.
(Inherited from State.)
Public methodCompareTo(State)
Compare this State with the specified. Used at PriorityQueue.
(Inherited from State.)
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.
(Inherited from State.)
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.
(Inherited from State.)
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.
(Inherited from State.)
Public methodPrint
Print at the console the string representation for this State.
(Inherited from State.)
Public methodToString
Gets the String representation for this State.
(Inherited from State.)

See Also