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

List of all members.

Public Member Functions

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

Detailed Description

A graph that displays individual feedbacks grouped together into edges. There is only ever one SimfeedbackGraph in a simulation.

Author:
Andrew O'Hara

Definition at line 18 of file SimFeedbackGraph.java.


Constructor & Destructor Documentation

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

Creates a feedback graph

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

Definition at line 25 of file SimFeedbackGraph.java.


Member Function Documentation

void cu.trustGrapher.graphs.SimFeedbackGraph.graphConstructionEvent ( TrustLogEvent  event)

Creates an edge but does not yet add the feedback to it. As the visible edges, are added, the feedbacks will be added to the hidden edges

Parameters:
eventThe current event being processed that contains the ids of the assessor and assesse and feedback given

Reimplemented from cu.trustGrapher.graphs.SimAbstractGraph.

Definition at line 61 of file SimFeedbackGraph.java.

Here is the call graph for this function:

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

Here is the call graph for this function:


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