package domain;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public abstract class Crawler extends Thread{
	
	protected Graph graph;
	protected Node nodeStart;
	protected Node nodeDestination;
	protected Random random = new Random();
	protected List<Link> result = new ArrayList<Link>();
	
	public Crawler(Graph graph, Node nodeStart, Node nodeDestination) {
		this.graph = graph;
		this.nodeStart = nodeStart;
		this.nodeDestination = nodeDestination;
	}
	
	public List<Link> getResult(){
		return result;
	}

}
