for(col = col - 1; col >= 0; col--){
rowVal = costrow[col+1];
new Parallel(new CSProcess[]{
new ProcWrite(toAbove, new Integer(totrow[col+1])),
new ProcWrite(toBelow, new Integer(totrow[col+1])),
readAbove,
readBelow
}).run();
rowVal = totrow[col+1];
upVal = ((Integer)readAbove.value).intValue();
dnVal = ((Integer)readBelow.value).intValue();
// computation for one entry
}
}
System.out.println("Rowsolver " + myRow + " done.");
toMaster.write(totrow);
toMaster.write(dirrow);
} }
Previous slide | Next slide | Back to first slide | View graphic version |