//Implementation of Bellman-Ford Algorithm for Single Source Shortest Path with negative edges
public boolean consistentSource(InstantAction source)
{
List nodeIndex = new ArrayList(nodes);
InstantAction p[] = new InstantAction[nodeIndex.size()];
BigDecimal d[] = new BigDecimal[nodeIndex.size()];
for (int count = 0; count < nodeIndex.size(); ++count)
{
p[count] = (InstantAction) nodeIndex.get(count);
d[count] = javaff.JavaFF.MAX_DURATION;