mirror of
https://github.com/bspeice/itcs3146-project
synced 2024-09-19 17:51:40 -04:00
17 lines
366 B
Java
17 lines
366 B
Java
public class baseAlgorithm{
|
|
|
|
int[] memoryBlock;
|
|
|
|
void baseAlgorithm(int memorySize){
|
|
/* Constructor needed for each algorithm */
|
|
memoryBlock = new int[memorySize];
|
|
}
|
|
|
|
void allocate(int jobID, int jobSize, int jobTime){
|
|
/* This method to be overloaded by each algorithm */
|
|
}
|
|
void deallocate(int jobSize, int beginningLocation){
|
|
|
|
}
|
|
}
|