// Last edited on 2000-09-04 17:56:36 by stolfi // Objeto que define o custo da conexão entre dois Trechos import Trecho; class Conexao { public Trecho t1; // Primeiro trecho public Trecho t2; // Segundo trecho public double custo; // Custo da conversao // Construtor public Conexao(Trecho t1, Trecho t2, double custo) { this.t1 = t1; this.t2 = t2; this.custo = custo; } }