|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
eduni.simjava.Sim_entity
User
| Field Summary | |
static int |
ParticipationRequest
|
static int |
ResourceInfoRequest
|
static int |
SendBids
|
static int |
SendWorkRequest
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
User(java.lang.String name,
double delay,
double work,
double time,
double budget,
int NoOfSubtasks,
double percenthikeINbid)
Creates a new instance of User |
|
| Method Summary | |
void |
body()
this method is used to define behaviour sjhdkjashfkjashdjkahsdjkashdjashdjashdjsahdsaj |
boolean |
contains(int k)
this method looks up Vector invalidGroups and returns true if group passed as parameter to this method is in it else false |
int |
getnumberoftasks()
|
double |
getwork()
|
double |
getworkdone()
|
void |
invalidateTasks()
finally marks all the tasks to -1 which were temporarily marked -2 |
int |
LastTask()
|
void |
Randomizetasks()
|
void |
setworkdone(double workdone)
|
int |
TaskPosition(int index)
|
int |
TaskPosition2(int index)
|
| Methods inherited from class eduni.simjava.Sim_entity |
add_generator, add_param, add_port, clone, get_id, get_name, get_port, get_port, get_stat, run, send_on, set_invisible, set_stat, sim_cancel, sim_completed, sim_current, sim_get_next, sim_get_next, sim_hold_for, sim_hold, sim_pause_for, sim_pause_for, sim_pause_until, sim_pause_until, sim_pause, sim_process_for, sim_process_for, sim_process_until, sim_process_until, sim_process, sim_putback, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_schedule, sim_select, sim_trace, sim_wait_for, sim_wait_for, sim_wait_for, sim_wait, sim_waiting, sim_waiting |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ResourceInfoRequest
public static final int ParticipationRequest
public static final int SendBids
public static final int SendWorkRequest
| Constructor Detail |
public User(java.lang.String name,
double delay,
double work,
double time,
double budget,
int NoOfSubtasks,
double percenthikeINbid)
| Method Detail |
public void Randomizetasks()
public int TaskPosition(int index)
public int TaskPosition2(int index)
public boolean contains(int k)
public void invalidateTasks()
public int LastTask()
public double getwork()
public double getworkdone()
public void setworkdone(double workdone)
public int getnumberoftasks()
public void body()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||