TrustGrapher  r52
A playabale simulator for modelling trust between agents
D:/src/cu/trustGrapher/graphs/edges/SimTrustEdge.java
Go to the documentation of this file.
00001 
00002 package cu.trustGrapher.graphs.edges;
00003 
00004 import cu.repsystestbed.entities.Agent;
00005 import cu.repsystestbed.graphs.TrustEdge;
00006 
00011 public class SimTrustEdge extends TrustEdge{
00012     private static final String label = "";
00013 
00015 
00020     public SimTrustEdge(Agent src, Agent sink){
00021         super(src, sink);
00022     }
00023 
00025 
00031     @Override
00032     public String toString(){
00033         return label;
00034     }
00035 
00036     @Override
00037     public boolean equals(Object o){
00038         if (o instanceof SimTrustEdge){
00039             SimTrustEdge other = (SimTrustEdge) o;
00040             return (src.equals(other.src)) && (sink.equals(other.sink));
00041         }
00042         return false;
00043     }
00044 
00045     @Override
00046     public int hashCode() {
00047         int hash = 7;
00048         return hash;
00049     }
00050 }