// create the algorithms
EigenTrust repAlg = (EigenTrust) ReputationAlgorithm.getInstance("cu.repsystestbed.algorithms.examples.EigenTrust");
RankbasedTrustAlg trustAlg = (RankbasedTrustAlg) TrustAlgorithm.getInstance("cu.repsystestbed.algorithms.examples.RankbasedTrustAlg");
// create the work flow and add the items
Workflow workflow = new Workflow();
workflow.addItem(feedbackHistoryGraph);
workflow.addItem(repAlg);
workflow.addItem(repGraph);
workflow.addItem(trustAlg);
workflow.addItem(trustGraph);
// notify the listener of the feedback history graph but in reality it should be the listeners of the first
// graph in the workflow are notified.
workflow.getFeedbackHistoryGraph().notifyObservers(false);
this.workflow = workflow;
}