public MyLink(double weight, double type) {
 		 this.id = edgeCount++; // This is defined in the outer class.
 		 this.weight = weight; //A value between 0.0 and 1.0, specifies the transperency(alpha value) for an edge.
 		 this.type = type; //1.0 for a potentially related term, 2.0 for a directly related term, 3.0 for a relationship to another search term.
 	 }