|
From: tennov S. <te...@ya...> - 2006-06-08 21:15:14
|
Hai,
Sorry for the previous incomplete description.
I have problem regarding my simulation model in DSOL.
I found that not all codes (line of codes) in a
certain method is executed. What would be the cause to
this problem and what would be the solution.
I have check the logging and there is no error or
warning.
The problem description is as follows:
The method conductRegularTask() in the class Guard
invokes method scheduleMoveToNextLocation().
Method scheduleMoveToNextLocation() is successfully
invoked and execute first line of codes in the method.
Unfortunately, it is not executed all the codes in
scheduleMoveToNextLocation() including the creation of
SimEvent.
public class Guard (){
attributes are here
..
private void conductRegularTask(){
codes are here
....
....
this.scheduleMoveToNextLocation()
}
private void scheduleMoveToNextLocation(){
lines code that executed
.....
.....
LINES of CODES that NOT executed
....
....
for(int i=0;i<this.list.size();i++){
try{
SimEventInterface simEvent1=........;
}
catch (SimRuntimeException) {
printStackTrace();
}
catch (RemoteException) {
printStackTrace();
}
}
Regards
tennov
Delft University of Technology
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|