com.github.bentorfs.ai.common.TreeNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ai-algorithms Show documentation
Show all versions of ai-algorithms Show documentation
A collection of well-known AI and machine learning algorithms
The newest version!
package com.github.bentorfs.ai.common;
import java.util.Collection;
public interface TreeNode {
/**
* Returns all child nodes that are accessible from this node
*/
public abstract Collection getChildNodes();
/**
* Returns whether this tree node represents a solution
*/
public abstract boolean isSolutionNode();
/**
* Returns the numerical value associated with this tree node
*/
public abstract double getValue();
}