Skip to content
Snippets Groups Projects
Commit 336b81af authored by brutzman's avatar brutzman
Browse files

fix javadoc errors, now compiles cleanly, javadoc warnings remain

parent 78867868
No related branches found
No related tags found
No related merge requests found
Showing
with 1817 additions and 1809 deletions
...@@ -2,11 +2,13 @@ package MV3500Cohort2022MayJune.homework1.Duran; ...@@ -2,11 +2,13 @@ package MV3500Cohort2022MayJune.homework1.Duran;
import java.io.*; import java.io.*;
import java.net.*; import java.net.*;
/** Homework example 3 */
public class DuranTcpExample3Client { public class DuranTcpExample3Client {
/** preferred IP number */
public final static String LOCALHOST = "127.0.0.1"; public final static String LOCALHOST = "127.0.0.1";
/** main method for execution */
public static void main(String[] args) throws InterruptedException { public static void main(String[] args) throws InterruptedException {
// Local variables/fields // Local variables/fields
......
package MV3500Cohort2022MayJune.homework1.Duran; package MV3500Cohort2022MayJune.homework1.Duran;
import MV3500Cohort2021JulySeptember.homework2.Domonique.*; //import MV3500Cohort2021JulySeptember.homework2.Domonique.*;
import java.io.*; import java.io.*;
import java.net.*; import java.net.*;
/** Homework example */
public class DuranTcpExampleServer { public class DuranTcpExampleServer {
public static void main(String[] args) { public static void main(String[] args) {
......
...@@ -5,8 +5,8 @@ import java.io.*; ...@@ -5,8 +5,8 @@ import java.io.*;
import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicBoolean;
/** /**
* * Homework example
* @author nick * @author Nick Royer
*/ */
public class TCPPeer { public class TCPPeer {
private ServerSocket server_socket = null; private ServerSocket server_socket = null;
......
...@@ -5,11 +5,9 @@ ...@@ -5,11 +5,9 @@
*/ */
package royer.homework2; package royer.homework2;
import java.io.*;
/** /**
* * Homework example
* @author nick * @author Nicholas Royer
*/ */
public class Tester { public class Tester {
......
...@@ -11,10 +11,10 @@ import simkit.random.RandomVariate; ...@@ -11,10 +11,10 @@ import simkit.random.RandomVariate;
* events is scheduled based on an inter arrival time random variate. The state * events is scheduled based on an inter arrival time random variate. The state
* variable, simply counts the number of these arrivals. * variable, simply counts the number of these arrivals.
* *
* @see MV3500Cohort2022MayJune.projects.SimpleServer * @see MV3500Cohort2022MayJune.projects.TwoCraneBerths
* @see MV3500Cohort2022MayJune.projects.run.RunSimpleServerOpenDis7 * @see MV3500Cohort2022MayJune.projects.run.RunTwoCranesBerthOpenDis7
* @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/raw/master/examples/src/SimkitOpenDis7Examples/ArrivalProcessOpenDis7EventGraph.png">ArrivalProcessDisPdu.png</a> * @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/raw/master/examples/src/SimkitOpenDis7Examples/ArrivalProcessOpenDis7EventGraph.png">ArrivalProcessDisPdu.png</a>
* @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/raw/master/examples/src/SimkitOpenDis7Examples/SimpleServerComponentEventGraph.png">SimpleServerComponentEventGraph.png</a> * @see <a href="https://gitlab.nps.edu/Savage/NetworkedGraphicsMV3500/-/raw/master/examples/src/SimkitOpenDis7Examples/TwoCraneBerthsComponentEventGraph.png">TwoCraneBerthsComponentEventGraph.png</a>
* @author abuss@nps.edu * @author abuss@nps.edu
* @author brutzman@nps.edu * @author brutzman@nps.edu
*/ */
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1"> <project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type> <type>org.netbeans.modules.java.j2seproject</type>
<configuration> <configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3"> <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>MV3500Cohort2022MayJune projects Royer TwoCranesBerth</name> <name>MV3500Cohort2022MayJune projects Royer TwoCranesBerth</name>
<source-roots> <source-roots>
<root id="src.dir"/> <root id="src.dir"/>
</source-roots> </source-roots>
<test-roots> <test-roots>
<root id="test.src.dir"/> <root id="test.src.dir"/>
</test-roots> </test-roots>
</data> </data>
</configuration> <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
</project> <word>Accessor</word>
<word>interarrival</word>
</spellchecker-wordlist>
</configuration>
</project>
...@@ -7,8 +7,10 @@ import simkit.random.RandomVariate; ...@@ -7,8 +7,10 @@ import simkit.random.RandomVariate;
* @author Nick Royer * @author Nick Royer
*/ */
public class ArrivalProcess extends simkit.SimEntityBase { public class ArrivalProcess extends simkit.SimEntityBase {
/** Random variate generator for interarrival intervals */
protected simkit.random.RandomVariate interarrivalTimeGenerator = null; protected simkit.random.RandomVariate interarrivalTimeGenerator = null;
protected int numberArrivals = 0; // The raison d'etre of this whole thing /** The raison d'etre of this whole thing */
protected int numberArrivals = 0;
/** /**
* @return the interarrival time generator * @return the interarrival time generator
...@@ -23,7 +25,7 @@ public class ArrivalProcess extends simkit.SimEntityBase { ...@@ -23,7 +25,7 @@ public class ArrivalProcess extends simkit.SimEntityBase {
public void setInterarrivalTimeGenerator(simkit.random.RandomVariate iat_generator) { public void setInterarrivalTimeGenerator(simkit.random.RandomVariate iat_generator) {
this.interarrivalTimeGenerator = iat_generator; this.interarrivalTimeGenerator = iat_generator;
} }
/** Constructor */
public ArrivalProcess(RandomVariate iat_generator) { public ArrivalProcess(RandomVariate iat_generator) {
this.interarrivalTimeGenerator = iat_generator; this.interarrivalTimeGenerator = iat_generator;
} }
...@@ -81,6 +83,7 @@ public class ArrivalProcess extends simkit.SimEntityBase { ...@@ -81,6 +83,7 @@ public class ArrivalProcess extends simkit.SimEntityBase {
} }
/** /**
* Accessor method
* @return the numArrivals * @return the numArrivals
*/ */
public int getNumArrivals() { public int getNumArrivals() {
...@@ -88,6 +91,7 @@ public class ArrivalProcess extends simkit.SimEntityBase { ...@@ -88,6 +91,7 @@ public class ArrivalProcess extends simkit.SimEntityBase {
} }
/** /**
* Accessor method
* @param numArrivals the numArrivals to set * @param numArrivals the numArrivals to set
*/ */
protected void setNumArrivals(int numArrivals) { protected void setNumArrivals(int numArrivals) {
......
...@@ -16,7 +16,7 @@ import java.util.List; ...@@ -16,7 +16,7 @@ import java.util.List;
// import edu.nps.moves.disenum.PlatformSurface; // import edu.nps.moves.disenum.PlatformSurface;
/** /**
* * Spit out PDUs
* @author Nicholas Royer * @author Nicholas Royer
*/ */
public class PDUSpitter { public class PDUSpitter {
......
...@@ -10,8 +10,8 @@ import dockyard.ArrivalProcess; ...@@ -10,8 +10,8 @@ import dockyard.ArrivalProcess;
import dockyard.Ship; import dockyard.Ship;
/** /**
* * Dockyard project
* @author nick * @author Nicholas Royer
*/ */
public class ShipArrivalProcess extends dockyard.ArrivalProcess { public class ShipArrivalProcess extends dockyard.ArrivalProcess {
...@@ -19,9 +19,9 @@ public class ShipArrivalProcess extends dockyard.ArrivalProcess { ...@@ -19,9 +19,9 @@ public class ShipArrivalProcess extends dockyard.ArrivalProcess {
/** /**
* Constructor for a new CustomerArrivalProcess * Constructor for a new CustomerArrivalProcess
* @param iat_generator The interarrival time generator * @param interarrivalTimeGenerator The interarrival time generator
* @param serviceTimeGen The generator for service times for customers * @param unloadingTimeGenerator The generator for service times for customers
* @param renegeTimeGen The generator for renege times for customers // * @param renegeTimeGen The generator for renege times for customers
*/ */
public ShipArrivalProcess(RandomVariate interarrivalTimeGenerator, public ShipArrivalProcess(RandomVariate interarrivalTimeGenerator,
RandomVariate unloadingTimeGenerator) RandomVariate unloadingTimeGenerator)
......
...@@ -6,7 +6,7 @@ import dockyard.ShipArrivalProcess; ...@@ -6,7 +6,7 @@ import dockyard.ShipArrivalProcess;
import dockyard.TwoCranesBerth; import dockyard.TwoCranesBerth;
/** /**
* * Run the simulation
* @author Nicholas Royer * @author Nicholas Royer
*/ */
public class RunTwoCranesBerth { public class RunTwoCranesBerth {
......
...@@ -15,7 +15,7 @@ import simkit.SimEntityBase; ...@@ -15,7 +15,7 @@ import simkit.SimEntityBase;
/** /**
* Add DIS outputs to TwoCraneBerths simkit simulation * Add DIS outputs to TwoCraneBerths simkit simulation
* @see TwoCraneBerths * @see TwoCraneBerths
* @see MV3500Cohort2022MayJune.projects.run.RunTwoCranesBerth * @see MV3500Cohort2022MayJune.projects.TwoCraneBerthsOpenDis7
* @see MV3500Cohort2022MayJune.projects.run.RunTwoCranesBerthOpenDis7 * @see MV3500Cohort2022MayJune.projects.run.RunTwoCranesBerthOpenDis7
* @see <a href="run/RunTwoCranesBerthOpenDis7Log.txt">RunTwoCranesBerthOpenDis7Log.txt</a> * @see <a href="run/RunTwoCranesBerthOpenDis7Log.txt">RunTwoCranesBerthOpenDis7Log.txt</a>
* @see <a href="TwoCraneBerthsAssignment05.docx">TwoCraneBerthsAssignment05.docx</a> * @see <a href="TwoCraneBerthsAssignment05.docx">TwoCraneBerthsAssignment05.docx</a>
......
package MV3500Cohort2022MayJune.projects;
/** /**
* Student projects produced as part of the NPS MOVES MV3500 Networked Graphics course. * Student projects produced as part of the NPS MOVES MV3500 Networked Graphics course.
* *
...@@ -9,4 +7,5 @@ package MV3500Cohort2022MayJune.projects; ...@@ -9,4 +7,5 @@ package MV3500Cohort2022MayJune.projects;
* @see <a href="https://stackoverflow.com/questions/624422/how-do-i-document-packages-in-java">StackOverflow: how-do-i-document-packages-in-java</a> * @see <a href="https://stackoverflow.com/questions/624422/how-do-i-document-packages-in-java">StackOverflow: how-do-i-document-packages-in-java</a>
*/ */
package MV3500Cohort2022MayJune.projects;
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