diff --git a/examples/nbproject/configs/Simkit.SimpleServer.properties b/examples/nbproject/configs/Simkit.RunSimpleServer.properties similarity index 100% rename from examples/nbproject/configs/Simkit.SimpleServer.properties rename to examples/nbproject/configs/Simkit.RunSimpleServer.properties diff --git a/examples/nbproject/configs/Simkit.RunSimpleServerOpenDis7.properties b/examples/nbproject/configs/Simkit.RunSimpleServerOpenDis7.properties new file mode 100644 index 0000000000000000000000000000000000000000..81a5e708dd5b43123ccda44dbdf12705c868fb74 --- /dev/null +++ b/examples/nbproject/configs/Simkit.RunSimpleServerOpenDis7.properties @@ -0,0 +1 @@ +main.class=SimkitOpenDis7Examples.run.RunSimpleServerOpenDis7 diff --git a/examples/nbproject/configs/Simkit.RunTwoCraneBerths.properties b/examples/nbproject/configs/Simkit.RunTwoCraneBerths.properties index c0e62d58a4038a01e37c24054e5370cd402bc4e5..4304beba7ae919874d323aa55fc6d961b2a7d45d 100644 --- a/examples/nbproject/configs/Simkit.RunTwoCraneBerths.properties +++ b/examples/nbproject/configs/Simkit.RunTwoCraneBerths.properties @@ -1 +1 @@ -main.class=SimkitOpenDis7Examples.run.RunTwoCranesBerth +main.class=SimkitOpenDis7Examples.run.RunTwoCraneBerths diff --git a/examples/nbproject/configs/Simkit.RunTwoCraneBerthsOpenDis7.properties b/examples/nbproject/configs/Simkit.RunTwoCraneBerthsOpenDis7.properties new file mode 100644 index 0000000000000000000000000000000000000000..b5ce86674763ac9b3af5e0a282867b818500d912 --- /dev/null +++ b/examples/nbproject/configs/Simkit.RunTwoCraneBerthsOpenDis7.properties @@ -0,0 +1 @@ +main.class=SimkitOpenDis7Examples.run.RunTwoCraneBerthsOpenDis7 diff --git a/examples/src/SimkitOpenDis7Examples/run/RunSimpleServer.java b/examples/src/SimkitOpenDis7Examples/run/RunSimpleServer.java index 18fcc6379328affa2abe8cfb7316224a596cef0b..4e7e54a79f1b913c469fb6e54a3eab77178dd890 100644 --- a/examples/src/SimkitOpenDis7Examples/run/RunSimpleServer.java +++ b/examples/src/SimkitOpenDis7Examples/run/RunSimpleServer.java @@ -48,7 +48,7 @@ public class RunSimpleServer double beta = 1.8; RandomVariate serviceTimeGenerator = RandomVariateFactory.getInstance(rvName, alpha, beta); - int numServ = 2; + int numServ = 1; SimpleServer server = new SimpleServer(numServ, serviceTimeGenerator); arrival.addSimEventListener(server); diff --git a/examples/src/SimkitOpenDis7Examples/run/RunSimpleServerLog.txt b/examples/src/SimkitOpenDis7Examples/run/RunSimpleServerLog.txt index 2dbd03dc5131c5edd0f9aa1be9c2364e3b0cbdd2..b7679ce2153bddca01ebe902722157d13aa2e45d 100644 --- a/examples/src/SimkitOpenDis7Examples/run/RunSimpleServerLog.txt +++ b/examples/src/SimkitOpenDis7Examples/run/RunSimpleServerLog.txt @@ -1,20 +1,22 @@ -ant -f C:\\x-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run.single -Djavac.includes=SimkitOpenDis7Examples/run/RunSimpleServer.java -Drun.class=SimkitOpenDis7Examples.run.RunSimpleServer run-single +ant -f C:\\x3d-nps-gitlab\\NetworkedGraphicsMV3500\\examples -Dnb.internal.action.name=run.single -Djavac.includes=SimkitOpenDis7Examples/run/RunSimpleServer.java -Drun.class=SimkitOpenDis7Examples.run.RunSimpleServer run-single init: -Deleting: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties +Deleting: C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties deps-jar: -Updating property file: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties -Compiling 1 source file to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes +Updating property file: C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\built-jar.properties +Compiling 1 source file to C:\x3d-nps-gitlab\NetworkedGraphicsMV3500\examples\build\classes +warning: [options] system modules path not set in conjunction with -source 17 +1 warning compile-single: run-single: ArrivalProcess.1 interarrivalTimeGenerator = Uniform (0.900, 2.200) SimpleServer.2 - totalNumberServers = 2 + totalNumberServers = 1 serviceTimeGenerator = Gamma (1.700, 1.800) Simulation ended at time 100,000.000 -There have been 64,475 arrivals -There have been 64,472 customers served -Average number in queue 15.9655 -Average utilization 0.9819 -BUILD SUCCESSFUL (total time: 3 seconds) +There have been 64,526 arrivals +There have been 32,790 customers served +Average number in queue 15912.7375 +Average utilization 1.0000 +BUILD SUCCESSFUL (total time: 5 seconds)