aima.core.logic.fol.domain.FOLDomainSkolemConstantAddedEvent 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.domain;
/**
* @author Ciaran O'Reilly
*
*/
public class FOLDomainSkolemConstantAddedEvent extends FOLDomainEvent {
private static final long serialVersionUID = 1L;
private String skolemConstantName;
public FOLDomainSkolemConstantAddedEvent(Object source,
String skolemConstantName) {
super(source);
this.skolemConstantName = skolemConstantName;
}
public String getSkolemConstantName() {
return skolemConstantName;
}
@Override
public void notifyListener(FOLDomainListener listener) {
listener.skolemConstantAdded(this);
}
}