All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aima.core.logic.fol.domain.FOLDomainAnswerLiteralAddedEvent Maven / Gradle / Ivy

Go to download

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 FOLDomainAnswerLiteralAddedEvent extends FOLDomainEvent {

	private static final long serialVersionUID = 1L;

	private String answerLiteralName;

	public FOLDomainAnswerLiteralAddedEvent(Object source,
			String answerLiteralName) {
		super(source);

		this.answerLiteralName = answerLiteralName;
	}

	public String getAnswerLiteralNameName() {
		return answerLiteralName;
	}

	@Override
	public void notifyListener(FOLDomainListener listener) {
		listener.answerLiteralNameAdded(this);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy