Skip to content
Snippets Groups Projects
Commit 7f40eb94 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

move classes, attempt to fix Royer package

parent 6f6d22c9
No related branches found
No related tags found
No related merge requests found
Showing
with 16 additions and 18 deletions
......@@ -3,7 +3,8 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dockyard;
package MV3500Cohort2022MayJune.Royer2.dockyard;
import edu.nps.moves.dis7.enumerations.PlatformDomain;
import edu.nps.moves.dis7.enumerations.VariableRecordType;
import edu.nps.moves.dis7.pdus.*;
......
package dockyard;
package MV3500Cohort2022MayJune.Royer2.dockyard;
/**
* Class representing a ship for Computer Assignment 5
......
......@@ -3,17 +3,16 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dockyard;
package MV3500Cohort2022MayJune.Royer2.dockyard;
import simkit.examples.ArrivalProcess;
import simkit.random.RandomVariate;
import dockyard.ArrivalProcess;
import dockyard.Ship;
/**
* Dockyard project
* @author Nicholas Royer
*/
public class ShipArrivalProcess extends dockyard.ArrivalProcess {
public class ShipArrivalProcess extends ArrivalProcess {
protected RandomVariate unloadTimeGenerator = null;
......
......@@ -3,11 +3,10 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dockyard;
package MV3500Cohort2022MayJune.Royer2.dockyard;
import java.util.HashMap;
import java.util.Set;
import simkit.stat.AbstractSimpleStats;
import simkit.stat.MultipleSimpleStatsTally;
import simkit.stat.MultipleSimpleStatsTimeVarying;
import simkit.stat.SimpleStatsTimeVarying;
......
......@@ -3,9 +3,8 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package dockyard;
package MV3500Cohort2022MayJune.Royer2.dockyard;
import java.util.Queue;
import java.util.SortedSet;
import java.util.TreeSet;
......
package dockyard.run;
package MV3500Cohort2022MayJune.Royer2.dockyard.run;
import dockyard.StatsPackage;
import dockyard.PDUSpitter;
import dockyard.ShipArrivalProcess;
import dockyard.TwoCranesBerth;
import StatsPackage;
import PDUSpitter;
import ShipArrivalProcess;
import TwoCranesBerth;
/**
* Run the simulation
......@@ -64,8 +64,8 @@ public class RunTwoCranesBerth {
simkit.Schedule.getSimTime(),
sap.getNumArrivals(),
dockyard.getNumShipsUnloaded(),
dockyard.getMaxNumShipsInQueue(),
getNumShipsUnloaded(),
getMaxNumShipsInQueue(),
stats.getMean("numShipsInQueue"),
stats.getMean("numFullBerths"),
stats.getMean("timeInSystem"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment