aima.core.logic.fol.domain.FOLDomainSkolemFunctionAddedEvent 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 FOLDomainSkolemFunctionAddedEvent extends FOLDomainEvent {
private static final long serialVersionUID = 1L;
private String skolemFunctionName;
public FOLDomainSkolemFunctionAddedEvent(Object source,
String skolemFunctionName) {
super(source);
this.skolemFunctionName = skolemFunctionName;
}
public String getSkolemConstantName() {
return skolemFunctionName;
}
@Override
public void notifyListener(FOLDomainListener listener) {
listener.skolemFunctionAdded(this);
}
}