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

List of all members.

Public Member Functions

 SimTrustGraph (GraphConfig graphConfig)
void graphEvent (TrustLogEvent event, boolean forward)

Detailed Description

A graph that shows whether each agent trusts the other

Author:
Andrew O'Hara

Definition at line 21 of file SimTrustGraph.java.


Constructor & Destructor Documentation

cu.trustGrapher.graphs.SimTrustGraph.SimTrustGraph ( GraphConfig  graphConfig)

Creates a Trust Graph.

Parameters:
graphConfigThis object contains all of the configurations for this graph

Definition at line 28 of file SimTrustGraph.java.


Member Function Documentation

void cu.trustGrapher.graphs.SimTrustGraph.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 41 of file SimTrustGraph.java.

Here is the call graph for this function:


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