aima.core.logic.fol.inference.proof.Proof Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aima-core Show documentation
Show all versions of aima-core Show documentation
AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.
The newest version!
package aima.core.logic.fol.inference.proof;
import java.util.List;
import java.util.Map;
import aima.core.logic.fol.parsing.ast.Term;
import aima.core.logic.fol.parsing.ast.Variable;
/**
* @author Ciaran O'Reilly
*
*/
public interface Proof {
/**
*
* @return A list of proof steps that show how an answer was derived.
*/
List getSteps();
/**
*
* @return a Map of bindings for any variables that were in the original
* query. Will be an empty Map if no variables existed in the
* original query.
*/
Map getAnswerBindings();
/**
*
* @param updatedBindings
* allows for the bindings to be renamed. Note: should not be
* used for any other reason.
*/
void replaceAnswerBindings(Map updatedBindings);
}