Constant Length
- class ConstantLength
Bases:
Predicate
lconst A B L - Represent that the length of segment AB is L
L should be given as a float.
-
NAME:
str
= 'lconst'
- classmethod preparse(args)
- Return type:
Optional
[tuple
[str
,...
]]
- classmethod parse(args, dep_graph)
- Return type:
Optional
[tuple
[Any
,...
]]
- classmethod check_numerical(statement)
- Return type:
bool
- classmethod add(dep)
- Return type:
None
- classmethod check(statement)
Hypothesis : the numercial test is passed
- Return type:
bool
- classmethod why(statement)
Hypothesis : the numercial test is passed This function should only be giving one same dependency, which is the implicit dependency used in the first check success.
- Return type:
- classmethod to_tokens(args)
- Return type:
tuple
[str
,...
]
- classmethod pretty(statement)
Write the predicate in a natural language.
- Return type:
str
-
NAME:
- class LCompute
Bases:
Predicate
lcompute A B
-
NAME:
str
= 'lcompute'
- classmethod preparse(args)
- Return type:
Optional
[tuple
[str
,...
]]
- classmethod parse(args, dep_graph)
- Return type:
Optional
[tuple
[Any
,...
]]
- classmethod check_numerical(statement)
- Return type:
bool
- classmethod check(statement)
Hypothesis : the numercial test is passed
- Return type:
bool
- classmethod why(statement)
Hypothesis : the numercial test is passed This function should only be giving one same dependency, which is the implicit dependency used in the first check success.
- classmethod pretty(statement)
Write the predicate in a natural language.
- Return type:
str
-
NAME: