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

astra.cartago.CartagoSignalEventUnifier Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package astra.cartago;

import java.util.HashMap;
import java.util.Map;

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

public class CartagoSignalEventUnifier implements EventUnifier {
	@Override
	public Map unify(CartagoSignalEvent source, CartagoSignalEvent target, Agent agent) {
		return Unifier.unify(new Term[] {source.id(), source.content()}, new Term[] {target.id(), target.content()}, new HashMap(), agent);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy