C# Class AIMA.Core.Search.CSP.Assignment

Mostrar archivo Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
Assignment ( ) : System
ToString ( ) : String
copy ( ) : Assignment
getAssignment ( Variable var ) : Object
getVariables ( ) : List
hasAssignmentFor ( Variable var ) : bool
isComplete ( List vars ) : bool
isComplete ( Variable vars ) : bool
isConsistent ( List constraints ) : bool
isSolution ( CSP csp ) : bool
removeAssignment ( Variable var ) : void
setAssignment ( Variable var, Object value ) : void

Method Details

Assignment() public method

public Assignment ( ) : System
return System

ToString() public method

public ToString ( ) : String
return String

copy() public method

public copy ( ) : Assignment
return Assignment

getAssignment() public method

public getAssignment ( Variable var ) : Object
var Variable
return Object

getVariables() public method

public getVariables ( ) : List
return List

hasAssignmentFor() public method

public hasAssignmentFor ( Variable var ) : bool
var Variable
return bool

isComplete() public method

public isComplete ( List vars ) : bool
vars List
return bool

isComplete() public method

public isComplete ( Variable vars ) : bool
vars Variable
return bool

isConsistent() public method

public isConsistent ( List constraints ) : bool
constraints List
return bool

isSolution() public method

public isSolution ( CSP csp ) : bool
csp CSP
return bool

removeAssignment() public method

public removeAssignment ( Variable var ) : void
var Variable
return void

setAssignment() public method

public setAssignment ( Variable var, Object value ) : void
var Variable
value Object
return void