C# Class ElizaCore.Key

Eliza key.
Eliza key. A key has the key itself, a rank, and a list of decompositon rules.
显示文件 Open project: xamarin/monotouch-samples Class Usage Examples

Public Methods

Method Description
Copy ( Key k ) : void
Decomp ( ) : DecompList

Get the decomposition list.

Get the decomposition list.

GetKey ( ) : string

Get the key value.

Get the key value.

Print ( int indent ) : void

Print the key and all under it.

Print the key and all under it.

PrintKey ( int indent ) : void

Print the key and rank only, not the rest.

Print the key and rank only, not the rest.

Rank ( ) : int

Get the rank.

Get the rank.

Private Methods

Method Description
Key ( ) : System

Another initialization for gotoKey.

Another initialization for gotoKey.

Key ( string key, int rank, DecompList decomp ) : System

Initialize the key.

Initialize the key.

Method Details

Copy() public method

public Copy ( Key k ) : void
k Key
return void

Decomp() public method

Get the decomposition list.
Get the decomposition list.
public Decomp ( ) : DecompList
return DecompList

GetKey() public method

Get the key value.
Get the key value.
public GetKey ( ) : string
return string

Print() public method

Print the key and all under it.
Print the key and all under it.
public Print ( int indent ) : void
indent int
return void

PrintKey() public method

Print the key and rank only, not the rest.
Print the key and rank only, not the rest.
public PrintKey ( int indent ) : void
indent int
return void

Rank() public method

Get the rank.
Get the rank.
public Rank ( ) : int
return int