Class ComplexTreeModelEvaluator

    • Constructor Detail

      • ComplexTreeModelEvaluator

        public ComplexTreeModelEvaluator​(org.dmg.pmml.PMML pmml)
      • ComplexTreeModelEvaluator

        public ComplexTreeModelEvaluator​(org.dmg.pmml.PMML pmml,
                                         org.dmg.pmml.tree.TreeModel treeModel)
    • Method Detail

      • getEntityRegistry

        public com.google.common.collect.BiMap<java.lang.String,​org.dmg.pmml.tree.Node> getEntityRegistry()
        Specified by:
        getEntityRegistry in interface HasEntityRegistry<org.dmg.pmml.tree.Node>
        Returns:
        A bidirectional map between Entity identifiers and Entity instances.
      • getPath

        public java.util.List<org.dmg.pmml.tree.Node> getPath​(java.lang.String id)
        Specified by:
        getPath in interface HasNodeRegistry
        Returns:
        A path from the root node to the specified node.
      • getPathBetween

        public java.util.List<org.dmg.pmml.tree.Node> getPathBetween​(java.lang.String parentId,
                                                                     java.lang.String childId)
        Specified by:
        getPathBetween in interface HasNodeRegistry
        Returns:
        A path from the parent node to the child node.