MCPcopy Create free account
hub / github.com/catabriga/graphwar / getTotalPoints

Method getTotalPoints

src/Graphwar/ComputerPlayer.java:280–290  ·  view source on GitHub ↗
(EvolvableFunction[] functions)

Source from the content-addressed store, hash-verified

278 }
279
280 private double getTotalPoints(EvolvableFunction[] functions)
281 {
282 double totalPoints = 0;
283
284 for(int i=0; i<functions.length; i++)
285 {
286 totalPoints += functions[i].points;
287 }
288
289 return totalPoints;
290 }
291
292 public void run()
293 {

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected