package am.aua.search; public class UCSFunction implements NodeFunction { @Override public int eval(Node n) { return n.pathCost; } }