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

astra.reasoner.unifier.GoalEventUnifier Maven / Gradle / Ivy

package astra.reasoner.unifier;

import java.util.Map;

import astra.core.Agent;
import astra.event.GoalEvent;
import astra.reasoner.EventUnifier;
import astra.reasoner.Unifier;
import astra.term.Term;

public class GoalEventUnifier implements EventUnifier {
	@Override
	public Map unify(GoalEvent source, GoalEvent target, Agent agent) {
		return (source.type() == target.type()) ? Unifier.unify(source.goal, target.goal, agent):null;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy