C# Class AjRools.Expert.World

Mostra file Open project: ajlopez/AjRools

Public Methods

Method Description
AddRule ( Rule rule ) : void
AssertFact ( Fact fact ) : void
AssertObject ( object obj ) : void
IsAFact ( Fact fact ) : bool
IsAnObject ( object obj ) : bool
RetractFact ( Fact fact ) : void
Run ( ) : void

Private Methods

Method Description
ProcessAssertedFact ( Fact fact ) : void
ProcessAssertedFact ( NameVerbValueFact fact ) : void
ProcessNotTestedRules ( ) : void
ProcessRetractedFact ( Fact fact ) : void
ProcessRetractedFact ( NameVerbValueFact fact ) : void

Method Details

AddRule() public method

public AddRule ( Rule rule ) : void
rule AjRools.Expert.Rules.Rule
return void

AssertFact() public method

public AssertFact ( Fact fact ) : void
fact Fact
return void

AssertObject() public method

public AssertObject ( object obj ) : void
obj object
return void

IsAFact() public method

public IsAFact ( Fact fact ) : bool
fact Fact
return bool

IsAnObject() public method

public IsAnObject ( object obj ) : bool
obj object
return bool

RetractFact() public method

public RetractFact ( Fact fact ) : void
fact Fact
return void

Run() public method

public Run ( ) : void
return void