TrustGrapher
r52
A playabale simulator for modelling trust between agents
|
Public Member Functions | |
SimReputationGraph (GraphConfig graphConfig, SimFeedbackGraph feedbackGraph) | |
void | graphEvent (TrustLogEvent event, boolean forward) |
Protected Attributes | |
SimFeedbackGraph | feedbackGraph |
A graph that displays each agent's trust towards other agents that it's had transactions with.
Definition at line 23 of file SimReputationGraph.java.
cu.trustGrapher.graphs.SimReputationGraph.SimReputationGraph | ( | GraphConfig | graphConfig, |
SimFeedbackGraph | feedbackGraph | ||
) |
Creates a Reputation Graph.
graphConfig | This object contains all of the configurations for this graph |
feedbackGraph | The feedbackGraph is needed to find what Agents are currently on it. |
Definition at line 32 of file SimReputationGraph.java.
void cu.trustGrapher.graphs.SimReputationGraph.graphEvent | ( | TrustLogEvent | event, |
boolean | forward | ||
) | [virtual] |
Called by the EventPlayer whenever a TrustLogEvent occurs. It is assumed that this graph is a dynamic graph. This method handles the addition or subtraction of edges and agents from the dynamic graph, and edge labels for both based on the event that is currently being processed.
event | The TrustLogEvent that is being processed |
forward | Whether or not the graph is being played forward |
Implements cu.trustGrapher.graphs.SimAbstractGraph.
Definition at line 46 of file SimReputationGraph.java.
Definition at line 24 of file SimReputationGraph.java.