I have a intercity delivery system simulation model. A type of the agent is "Parcel". At the end of each delivery shift I want to generate some new parcels as a different sort of parcels. Therefore, I created a new class called "Dummy_Parcel" which extends from the class "Parcel".
package intraCity_Simulator;
public class DummyParcel extends Parcel {
public DummyParcel(int id, int arr_tm, String or_hub, String de_hub, String mode, double wgt, double qty) {
super(id, arr_tm, or_hub, de_hub, mode, wgt, qty);
// TODO Auto-generated constructor stub
}
}
The problem is that when I create a new "Dummy_Parcel", this Dummy_Parcel will be recorded in the Dummy_Parcel tab of the "Agent Table". Also this Dummy_Parcel will appear in the Parcel tab. This causes unnecessary duplication. How to configure to prevent Dummy_Parcel displayed in Parcel Tab? This problem also appears in batch run data collection.