Interface AnalysisTreeRepresentation
-
- All Known Implementing Classes:
AnalysisTreeRepresentationImpl
public interface AnalysisTreeRepresentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.tensorics.core.util.chains.Chain<java.lang.String>fallbackNaming()Provides a naming representation, which will always returns a name and never null.org.tensorics.core.util.chains.Chain<java.lang.String>formulaLike()Retrieves a representation function, which expresses the expression tree like formula.org.tensorics.core.util.chains.Chain<java.lang.String>strictNaming()Retrieves a representation which only retrieves a name when it is really well defined, otherwise it will retrievenull.
-
-
-
Method Detail
-
strictNaming
org.tensorics.core.util.chains.Chain<java.lang.String> strictNaming()
Retrieves a representation which only retrieves a name when it is really well defined, otherwise it will retrievenull. Currently, as well defined we mean that it has either a valid name method or is stored as a constant in one of the classes in the default scanning range.- Returns:
- a string representation, that only returns non-null values if it is well defined.
-
fallbackNaming
org.tensorics.core.util.chains.Chain<java.lang.String> fallbackNaming()
Provides a naming representation, which will always returns a name and never null. The fallback here is currently the simple class name.- Returns:
- a function that maps objects to names and never returns
null
-
formulaLike
org.tensorics.core.util.chains.Chain<java.lang.String> formulaLike()
Retrieves a representation function, which expresses the expression tree like formula.- Returns:
- a function that maps expressions to a text representing the formula
-
-