| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package ai_lib :: Module logicrules |
|
Author: Simon Yuill
Contact: simon@lipparosa.org
Copyright: 2005 Simon Yuill
License: GNU GPL version 2 or any later version
| Classes | |
|---|---|
Inference |
|
LogicRule |
|
| Exceptions | |
|---|---|
LogicRuleParsingException |
|
| Function Summary | |
|---|---|
Checks tokens and separates into property and value. | |
Parses string and return LogicRule object. | |
Chaecks if string has correct format for weighting then returns number as float. | |
| Variable Summary | |
|---|---|
Constants |
logic_const = <svs_core.utilities.lib.Constants instance...
|
| Function Details |
|---|
formatExpressionTokens(tokens)Checks tokens and separates into property and value. Returns as tuple. |
parseRuleString(rStr, rule)Parses string and returnLogicRule object.
|
parseWeighting(wStr)Chaecks if string has correct format for weighting then returns number as float. If not properly formatted, or unable to convert to number, returnsNone.
|
| Variable Details |
|---|
logic_const
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:24 2005 | http://epydoc.sf.net |