/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.ufrgs.inf.prosoft.memoizeit.graph;
/**
*
* @author romulo
*/
public class Edge<U> {
private final Node<U> source;
private final Node<U> target;
public Edge(Node<U> source, Node<U> target) {
this.source = source;
this.target = target;
}
public Node<U> getSource() {
return source;
}
public Node<U> getTarget() {
return target;
}
}