Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • stefan.goericke.gy/NetworkedGraphicsMV3500
  • william.mahan/NetworkedGraphicsMV3500
  • alexander.white/NetworkedGraphicsMV3500
  • kyle.britt/NetworkedGraphicsMV3500
  • christopher.garibay/NetworkedGraphicsMV3500
  • christopher.cannon/NetworkedGraphicsMV3500
  • galoeffe/NetworkedGraphicsMV3500
  • dlcain1/NetworkedGraphicsMV3500
  • jmfurr/NetworkedGraphicsMV3500
  • jrjackso1/NetworkedGraphicsMV3500
  • kjmaroon1/NetworkedGraphicsMV3500
  • cdtacket/NetworkedGraphicsMV3500
12 results
Show changes
Commits on Source (2)
Showing
with 23 additions and 7 deletions
......@@ -38,5 +38,5 @@
<PropertyChangeListenerConnection property="numberServed" listener="numServedStat" source="simpleServer" description=""/>
<Output entity="arrivalProcessOpenDis7"/>
<Output entity="simpleServer"/>
<Schedule stopTime="100000.0" verbose="false" saveReplicationData="false"/>
</SimkitAssembly>
\ No newline at end of file
<Schedule stopTime="100.0" verbose="false" saveReplicationData="false"/>
</SimkitAssembly>
......@@ -48,9 +48,15 @@ if ((N % everyTen) == 0) {
firePropertyChange("R", oldR, R+1);
} else {
disChannel.addEntity(entityStatePdu_1.getEntityID());
Random random = new Random();
int randX = random.nextInt(10);
int randY = random.nextInt(10);
entityStatePdu_1.getEntityLocation().setX(randX);
entityStatePdu_1.getEntityLocation().setY(randY);
System.out.println("New entity created at: "+randX+" "+randY);
firePropertyChange("C", oldC, C+1);
}</Code>
<Coordinate x="270.0" y="50.0"/>
<Coordinate x="280.0" y="60.0"/>
</Event>
<Code></Code>
</SimEntity>
......@@ -11,7 +11,7 @@
<StateTransition state="numberAvailableServers">
<Assignment value="totalNumberServers"/>
</StateTransition>
<Coordinate x="20.0" y="30.0"/>
<Coordinate x="30.0" y="20.0"/>
</Event>
<Event name="Arrival">
<StateTransition state="numberInQueue">
......
......@@ -75,6 +75,12 @@ public class ArrivalProcessOpenDis7 extends SimkitOpenDis7Examples.run.OpenDisHe
firePropertyChange("R", oldR, R+1);
} else {
disChannel.addEntity(entityStatePdu_1.getEntityID());
Random random = new Random();
int randX = random.nextInt(10);
int randY = random.nextInt(10);
entityStatePdu_1.getEntityLocation().setX(randX);
entityStatePdu_1.getEntityLocation().setY(randY);
System.out.println("New entity created at: "+randX+" "+randY);
firePropertyChange("C", oldC, C+1);
}
/* End Code insertion */
......
......@@ -4,7 +4,7 @@ public class SimpleServerDis7Assembly extends viskit.assembly.ViskitAssembly {
public SimpleServerDis7Assembly() {
super();
setStopTime(100000.0);
setStopTime(100.0);
setVerbose(false);
setNumberReplications(1);
setPrintReplicationReports(true);
......
......@@ -10,9 +10,13 @@
<DistDirectory name="dist" />
<LibDirectory name="lib" />
<Project name="BavlsikViskitOpenDis7" />
<extraClassPaths>
<path value="C:/Users/tbavl/Documents/NetworkedGraphicsMV3500/assignments/src/MV3500Cohort2024JulySeptember/projects/Bavlsik/BavlsikViskitOpenDis7/lib/Networked_Graphics_MV3500_examples.jar" />
</extraClassPaths>
<Cached>
<EventGraphs xml="C:/Users/tbavl/Documents/NetworkedGraphicsMV3500/assignments/src/MV3500Cohort2024JulySeptember/projects/Bavlsik/BavlsikViskitOpenDis7/EventGraphs/dis7/SimpleServer.xml" />
<EventGraphs class="C:/Users/tbavl/Documents/NetworkedGraphicsMV3500/assignments/src/MV3500Cohort2024JulySeptember/projects/Bavlsik/BavlsikViskitOpenDis7/build/classes/dis7/SimpleServer.class" digest="-679a97428288e5d644ede38d9ac1dfaa" xml="C:/Users/tbavl/Documents/NetworkedGraphicsMV3500/assignments/src/MV3500Cohort2024JulySeptember/projects/Bavlsik/BavlsikViskitOpenDis7/EventGraphs/dis7/SimpleServer.xml" />
<EventGraphs xml="C:/Users/tbavl/Documents/NetworkedGraphicsMV3500/assignments/src/MV3500Cohort2024JulySeptember/projects/Bavlsik/BavlsikViskitOpenDis7/EventGraphs/dis7/ArrivalProcessOpenDis7.xml" />
<EventGraphs class="C:/Users/tbavl/Documents/NetworkedGraphicsMV3500/assignments/src/MV3500Cohort2024JulySeptember/projects/Bavlsik/BavlsikViskitOpenDis7/build/classes/dis7/ArrivalProcessOpenDis7.class" />
<EventGraphs digest="113303b4ce28074ab6ce2e9dc7064d99" />
</Cached>
</ViskitProject>