TrustGrapher
r52
A playabale simulator for modelling trust between agents
|
Public Member Functions | |
SimTrustGraph (GraphConfig graphConfig) | |
void | graphEvent (TrustLogEvent event, boolean forward) |
A graph that shows whether each agent trusts the other
Definition at line 21 of file SimTrustGraph.java.
cu.trustGrapher.graphs.SimTrustGraph.SimTrustGraph | ( | GraphConfig | graphConfig | ) |
Creates a Trust Graph.
graphConfig | This object contains all of the configurations for this graph |
Definition at line 28 of file SimTrustGraph.java.
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.
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 41 of file SimTrustGraph.java.