fhg.addFeedbacks(feedbacks, false);
m_storage.put(t_graphName, fhg);
}
else if(t_graphType.toLowerCase().equals("rg"))
{
ReputationGraphCreator gen = new ReputationGraphCreator();
ReputationGraph rg = gen.createGraph(t_graphInputFile);
m_storage.put(t_graphName, rg);
}
else if(t_graphType.toLowerCase().equals("tg"))
{
TrustGraphCreator gen = new TrustGraphCreator();
TrustGraph tg = gen.createGraph(t_graphInputFile);
m_storage.put(t_graphName, tg);
}
else
{
throw new Exception("Unknown graphType.");