Javadoc: Use "file name" instead of "filename".
Camel case vars "filename" to "fileName".
This commit is contained in:
parent
71aed1094c
commit
77e603a0fb
|
@ -198,15 +198,15 @@ public class KohonenTrainingTaskTest {
|
|||
* Prints a summary of the current state of the solver to the
|
||||
* given file name.
|
||||
*
|
||||
* @param filename File.
|
||||
* @param fileName File.
|
||||
* @param solver Solver.
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
private void printSummary(String filename,
|
||||
private void printSummary(String fileName,
|
||||
TravellingSalesmanSolver solver) {
|
||||
PrintWriter out = null;
|
||||
try {
|
||||
out = new PrintWriter(filename);
|
||||
out = new PrintWriter(fileName);
|
||||
out.println(travelCoordinatesTable(solver));
|
||||
|
||||
final City[] result = solver.getCityList();
|
||||
|
|
|
@ -280,14 +280,14 @@ public class ChineseRingsClassifier {
|
|||
/**
|
||||
* Prints the U-matrix of the map to the given file name.
|
||||
*
|
||||
* @param filename File.
|
||||
* @param fileName File.
|
||||
* @param sofm Classifier.
|
||||
*/
|
||||
private static void printU(String filename,
|
||||
private static void printU(String fileName,
|
||||
ChineseRingsClassifier sofm) {
|
||||
PrintWriter out = null;
|
||||
try {
|
||||
out = new PrintWriter(filename);
|
||||
out = new PrintWriter(fileName);
|
||||
|
||||
final double[][] uMatrix = sofm.computeU();
|
||||
for (int i = 0; i < uMatrix.length; i++) {
|
||||
|
@ -310,14 +310,14 @@ public class ChineseRingsClassifier {
|
|||
/**
|
||||
* Prints the hit histogram of the map to the given file name.
|
||||
*
|
||||
* @param filename File.
|
||||
* @param fileName File.
|
||||
* @param sofm Classifier.
|
||||
*/
|
||||
private static void printHit(String filename,
|
||||
private static void printHit(String fileName,
|
||||
ChineseRingsClassifier sofm) {
|
||||
PrintWriter out = null;
|
||||
try {
|
||||
out = new PrintWriter(filename);
|
||||
out = new PrintWriter(fileName);
|
||||
|
||||
final int[][] histo = sofm.computeHitHistogram();
|
||||
for (int i = 0; i < histo.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue