Skip to content

Commit 1bf0651

Browse files
committed
Refs #37: Update comments to fix maven build error on javadoc
1 parent cf5cda3 commit 1bf0651

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

src/main/java/com/dpgil/pathlinker/path_linker/internal/rest/PathLinkerAppResponse.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ public Long getSubnetworkSUID() {
3636

3737
/**
3838
* Setter method of the subnetworkSUID
39-
* @param subnetworkSUID
39+
* @param subnetworkSUID the SUID of the subnetwork generated
4040
*/
4141
public void setSubNetworkSUID(Long subnetworkSUID) {
4242
this.subnetworkSUID = subnetworkSUID;
4343
}
4444

4545
/**
4646
* Getter method of the subnetworkViewSUID
47-
* @return subnetworkViewSUID
47+
* @return subnetworkViewSUID the SUID of the subnetwork view generated
4848
*/
4949
@ApiModelProperty(value = "SUID of the subnetwork view created")
5050
public Long getSubnetworkViewSUID() {
@@ -53,15 +53,15 @@ public Long getSubnetworkViewSUID() {
5353

5454
/**
5555
* Setter method of the subnetworkViewSUID
56-
* @param subnetworkViewSUID
56+
* @param subnetworkViewSUID the SUID of the subnetwork view generated
5757
*/
5858
public void setSubnetworkViewSUID(Long subnetworkViewSUID) {
5959
this.subnetworkViewSUID = subnetworkViewSUID;
6060
}
6161

6262
/**
6363
* Getter method of the pathRankColumnName
64-
* @return the pathRankColumnName
64+
* @return the pathRankColumnName the path rank column name
6565
*/
6666
@ApiModelProperty(value = "The name of the edge column containing the rank of the first path in which a given edge appears",
6767
example = "path rank 1")
@@ -71,15 +71,15 @@ public String getPathRankColumnName() {
7171

7272
/**
7373
* Setter method of the pathRankColumnName
74-
* @param pathRankColumnName
74+
* @param pathRankColumnName the path rank column name corresponding to the subnetwork
7575
*/
7676
public void setPathRankColumnName(String pathRankColumnName) {
7777
this.pathRankColumnName = pathRankColumnName;
7878
}
7979

8080
/**
8181
* Getter method of the paths
82-
* @return paths
82+
* @return paths the path generated by the algorithm
8383
*/
8484
@ApiModelProperty(value = "List of paths generated by the algorithm", required = true)
8585
public List<Path> getPaths() {
@@ -88,7 +88,7 @@ public List<Path> getPaths() {
8888

8989
/**
9090
* Setter method of the paths
91-
* @param paths
91+
* @param paths the path generated by the algorithm
9292
*/
9393
public void setPaths(List<Path> paths) {
9494
this.paths = paths;

src/main/java/com/dpgil/pathlinker/path_linker/internal/rest/PathLinkerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public class PathLinkerImpl implements PathLinkerResource {
6161
* @param serviceRegistrar service registrar
6262
* @param cySwingApp swing app
6363
* @param ciExceptionFactory CIException factory
64-
* @param ciErrorFactory CIError factory
6564
*/
6665
public PathLinkerImpl(
6766
PathLinkerControlPanel controlPanel,

src/main/java/com/dpgil/pathlinker/path_linker/internal/rest/PathLinkerResource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
public interface PathLinkerResource {
2424

2525
/**
26-
* Post Function that takes user input, and runs PathLinker on specific network;
26+
* Post Function that takes user input, and runs PathLinker on specific network;
2727
* generate new network/network view,
2828
* and return network/view SUIDs and k-number sorted path list
29+
* @param networkSUID the SUID of the network the function will run on
2930
* @param modelParams parameters needed to generate a network
3031
* @return k-number sorted path list in JSON Array format
3132
*/

src/main/java/com/dpgil/pathlinker/path_linker/internal/util/Algorithms.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,13 @@ public int compareTo(PathWay o) {
159159
* edge between any two nodes). A* is used as the pathfinding subroutine,
160160
* with the distances in the input graph as a heuristic. Because the
161161
* algorithm computes paths over subsets of the initial heuristic is valid
162-
* and effective. If the graph contains n < k paths, n paths will be
162+
* and effective. If the graph contains n less than k paths, n paths will be
163163
* returned.
164164
*
165165
* @param network
166166
* the supplied network
167+
* @param cyNodeToId
168+
* the map that maps CyNode object to its string name
167169
* @param source
168170
* the source node
169171
* @param target
@@ -380,6 +382,8 @@ private static void resetHiddenEdges()
380382
*
381383
* @param network
382384
* the supplied network
385+
* @param cyNodeToId
386+
* the map that maps CyNode object to its string name
383387
* @param source
384388
* the source node
385389
* @param target
@@ -658,6 +662,8 @@ public static HashMap<CyNode, Double> singleSourceDijkstra(
658662
*
659663
* @param network
660664
* the network
665+
* @param cyNodeToId
666+
* the map that maps CyNode object to its string name
661667
* @param source
662668
* the source node of the graph
663669
* @param target

src/main/java/com/dpgil/pathlinker/path_linker/internal/view/TextFieldInputFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void insertString(FilterBypass fb, int offset, String string,
3030
/**
3131
* Validate method
3232
* To be implemented depend on the data type for the validation
33-
* @param input text from the text field
33+
* @param text input text from the text field
3434
* @return true if validate pass, otherwise false
3535
*/
3636
public abstract boolean validate(String text);

0 commit comments

Comments
 (0)