This packages contains only interface definitions, defining essential classes in toxTree application.
- A decision tree should implement interface {@link toxTree.core.IDecisionMethod}
- A decision rule should implement interface {@link toxTree.core.IDecisionRule}
- The application of a decision tree on a query molecule
assigns it to a category {@link toxTree.core.IDecisionCategory}
- The path followed through the decision tree should be provided by {@link toxTree.core.IDecisionResult}
The existence of these interfaces allows various implementation of decision rules, trees and categories,
which can nevertheless be used interdependently.
A set of classes implementing these interfaces can be found in package {@link toxTree.tree}
Plugins
Plugins are .jar files, containing any one or all of the following:
- Decision tree(s), i.e. classes implementing {@link toxTree.core.IDecisionMethod}
- Rule(s), i.e. classes implementing {@link toxTree.core.IDecisionRule}
- Categories, i.e. classes implementing {@link toxTree.core.IDecisionCategory}
Plugins are searched at run-time in the following directories:
- The directory where toxTree.jar resides (current directory).
- The directory "ext" below the current directory.
Plugins containing decision trees are searched when presenting a list of available trees.
Plugins containing rules are searched when presenting a list of available rules.
Plugins containing categories are searched when presenting a list of available categories.
The Cramer tree {@link toxTree.tree.cramer.CramerRules} is used by default, but relies on the same mechanism. It is distributed in toxCramer.jar.
A demo decision tree is available at {@link toxTree.tree.demo.SubstructureTree} and distributed in toxDemo.jar.