Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Re: having problem on creating this shortest job first nonpreemptive algorithm

    Are you having a problem to search through an array for the lowest value in the array?
    One technique is to assume the first item in the array is the smallest and then to compare all the other...
  2. Re: having problem on creating this shortest job first nonpreemptive algorithm

    Please edit your post and format the code with proper indentations. The source statements should not all start in the first column. Unformatted code is hard to read and understand.


    After...
  3. Re: having problem on creating this shortest job first nonpreemptive algorithm

    Ok, now define the class, create a list of instances of the class in a container and look at finding the instance of the class with the first criteria.
  4. Re: having problem on creating this shortest job first nonpreemptive algorithm

    If the data is in a class, and instances of the class are in an array
    what do you want to do with the contents of the array?
    Something like:
    Select one item from the array based on criteria one....
  5. Re: having problem on creating this shortest job first nonpreemptive algorithm

    Do you have to use parallel arrays to hold the data or can you create a class to hold the data, put instances of the class in an array and sort them?
Results 1 to 5 of 5