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

astra.cartago.CartagoPropertyEventUnifier 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 CartagoPropertyEventUnifier implements EventUnifier {

	@Override
	public Map unify(CartagoPropertyEvent source, CartagoPropertyEvent 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