Skip to content

Instantly share code, notes, and snippets.

@toto
Created April 22, 2011 15:22
Show Gist options
  • Save toto/936877 to your computer and use it in GitHub Desktop.
Save toto/936877 to your computer and use it in GitHub Desktop.
If you force people to write doc-comments this is what happens
/**
* Berechnet zu einem gegebenen Pfad dessen Fitnesswert
*
* @param subPfad
* der Pfad, dessen Fitnesswert bestimmt werden soll
* @return Fitnesswert des Pfades
*/
private ArrayList<scoredPath> getPfadFitness(ArrayList<scoredPath> pathesToScore, Boolean hasUwkt) {
// …
}
@robb
Copy link

robb commented Apr 22, 2011

Sollte vor allem nicht getIrgendwas heißen wenn da ne (aufwendige?) Berechnung hinter steckt

@toto
Copy link
Author

toto commented Apr 22, 2011

Ach was, steckt doch nur ein genetischer Fitnessalgortihmus dahinter, dessen Laufzeit auch noch stark variiert…

@toto
Copy link
Author

toto commented Apr 22, 2011

An anderen stellen kommt dann sowas:

public void addTime(long time2) {
    time = time2;
}

@robb
Copy link

robb commented Apr 22, 2011

o.O

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment