aima.core.logic.fol.inference.proof.ProofStepPremise Maven / Gradle / Ivy
package aima.core.logic.fol.inference.proof;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
* @author Ciaran O'Reilly
*
*/
public class ProofStepPremise extends AbstractProofStep {
//
private static final List _noPredecessors = new ArrayList();
//
private Object proof = "";
public ProofStepPremise(Object proof) {
this.proof = proof;
}
//
// START-ProofStep
@Override
public List getPredecessorSteps() {
return Collections.unmodifiableList(_noPredecessors);
}
@Override
public String getProof() {
return proof.toString();
}
@Override
public String getJustification() {
return "Premise";
}
// END-ProofStep
//
}