mirror of
https://github.com/bspeice/itcs3146-project
synced 2024-12-22 14:48:21 -05:00
revised to remove System.out.print used to testing
This commit is contained in:
parent
a5abc7eeac
commit
c9cc6fc9ad
@ -88,7 +88,6 @@ class FirstFit implements baseAlgorithm
|
|||||||
memTable[s1][3] = jobSize+memTable[s1][2]-1;
|
memTable[s1][3] = jobSize+memTable[s1][2]-1;
|
||||||
memTable[s1][4] = memTable[s1][3]-memTable[s1][2]+1;
|
memTable[s1][4] = memTable[s1][3]-memTable[s1][2]+1;
|
||||||
memTable[s1][5] = 1;
|
memTable[s1][5] = 1;
|
||||||
System.out.println(jobId+" "+jobSize+" "+memTable[s1][2]);
|
|
||||||
fillMemory(jobId, jobSize, memTable[s1][2]);
|
fillMemory(jobId, jobSize, memTable[s1][2]);
|
||||||
memTable[s1+1][0] = 0;
|
memTable[s1+1][0] = 0;
|
||||||
memTable[s1+1][1] = 0;
|
memTable[s1+1][1] = 0;
|
||||||
@ -253,7 +252,6 @@ class FirstFit implements baseAlgorithm
|
|||||||
for(int fillCount=startLoc; fillCount<jobSize+startLoc; fillCount++)
|
for(int fillCount=startLoc; fillCount<jobSize+startLoc; fillCount++)
|
||||||
{
|
{
|
||||||
memory[fillCount]=jobId;
|
memory[fillCount]=jobId;
|
||||||
System.out.println("\n"+fillCount+" "+jobId);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user