CLab# 1.0 API Documentation

ClabCSP Methods

The methods of the ClabCSP class are listed below. For a complete list of ClabCSP class members, see the ClabCSP Members topic.

Public Instance Methods

AddExtraRule Adds an extra rule to the problem. Does not run a search for valid solutions, this has to be done, to get the reduced valid domaines after adding the new expression.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
GetValidDomains Updates the "CLab.ValidDomains" instance with the domain information from the current "Casper.CSP" object. Before a search is run, all domain values are possible and returned.
ObserveStatusChanged Observes the status for changes, and updates the current "CLab.Clab" instance.
RunCSPSearch Runs the CSP search with the expressions defined, and return the valid domaines for the problem.
RunCSPSearchUserChoice Runs the CSP search reduced with a user chosen domain value for a variable. Returns the valid domaines for the problem after this reduction.
SetVariableOrdering Sets the variable ordering.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ClabCSP Class | CLab.CSP Namespace