TrustGrapher  r52
A playabale simulator for modelling trust between agents
cu.trustGrapher.graphs.edges.SimFeedbackEdge Class Reference
Inheritance diagram for cu.trustGrapher.graphs.edges.SimFeedbackEdge:
Collaboration diagram for cu.trustGrapher.graphs.edges.SimFeedbackEdge:

List of all members.

Public Member Functions

 SimFeedbackEdge (Agent src, Agent sink) throws Exception
String toString ()
void addFeedback (Agent assessor, Agent assessee, double feedback)
void removeFeedback (double feedback)
boolean equals (Object o)
int hashCode ()

Detailed Description

An extension of FeedbackHistoryGraphEdge for use in the TrustGrapher trust simulator This is an edge that represents a list of transactions going from one peer to the other.

Author:
Andrew O'Hara

Definition at line 14 of file SimFeedbackEdge.java.


Constructor & Destructor Documentation

cu.trustGrapher.graphs.edges.SimFeedbackEdge.SimFeedbackEdge ( Agent  src,
Agent  sink 
) throws Exception

Creates a SimFeedbackEdge.

Parameters:
srcThe Agent that this edge originates from
sinkThe Agent that this edge ends at
Exceptions:
ExceptionIf the superclass constructor whines for some reason

Definition at line 25 of file SimFeedbackEdge.java.

Here is the caller graph for this function:


Member Function Documentation

void cu.trustGrapher.graphs.edges.SimFeedbackEdge.addFeedback ( Agent  assessor,
Agent  assessee,
double  feedback 
)

Adds feedback to this edge's list of feedbacks. Resets the label StringBuffer.

Parameters:
assessorThe agent that gave the feedback
assesseeThe agent that is receiving the feedback
feedbackThe value of the feedback

Definition at line 56 of file SimFeedbackEdge.java.

Here is the caller graph for this function:

boolean cu.trustGrapher.graphs.edges.SimFeedbackEdge.equals ( Object  o)

Reimplemented from cu.repsystestbed.graphs.FeedbackHistoryGraphEdge.

Definition at line 82 of file SimFeedbackEdge.java.

Here is the call graph for this function:

int cu.trustGrapher.graphs.edges.SimFeedbackEdge.hashCode ( )

Definition at line 93 of file SimFeedbackEdge.java.

void cu.trustGrapher.graphs.edges.SimFeedbackEdge.removeFeedback ( double  feedback)

Removes a feedback with the specified parameters form the edge. Resets the label StringBuffer.

Parameters:
feedbackThe value of the feedback to remove

Definition at line 71 of file SimFeedbackEdge.java.

Here is the caller graph for this function:

String cu.trustGrapher.graphs.edges.SimFeedbackEdge.toString ( )

Returns a string representation of this edge. This string is displayed by the edge in the TrustGraphViewer. This String contains all of the feedback values that this edge has. If the stringBuffer has already been built, returns a string of it instead.

Returns:
A string representation of this edge

Definition at line 38 of file SimFeedbackEdge.java.


The documentation for this class was generated from the following file: