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

List of all members.

Public Member Functions

 SimReputationGraph (GraphConfig graphConfig, SimFeedbackGraph feedbackGraph)
void graphEvent (TrustLogEvent event, boolean forward)

Protected Attributes

SimFeedbackGraph feedbackGraph

Detailed Description

A graph that displays each agent's trust towards other agents that it's had transactions with.

Author:
Andrew O'Hara

Definition at line 23 of file SimReputationGraph.java.


Constructor & Destructor Documentation

cu.trustGrapher.graphs.SimReputationGraph.SimReputationGraph ( GraphConfig  graphConfig,
SimFeedbackGraph  feedbackGraph 
)

Creates a Reputation Graph.

Parameters:
graphConfigThis object contains all of the configurations for this graph
feedbackGraphThe feedbackGraph is needed to find what Agents are currently on it.

Definition at line 32 of file SimReputationGraph.java.


Member Function Documentation

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.

Parameters:
eventThe TrustLogEvent that is being processed
forwardWhether or not the graph is being played forward

Implements cu.trustGrapher.graphs.SimAbstractGraph.

Definition at line 46 of file SimReputationGraph.java.

Here is the call graph for this function:


Member Data Documentation


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