Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
weichslgartner committed Jan 18, 2018
1 parent 3469f32 commit 0ef790e
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 36 deletions.
6 changes: 0 additions & 6 deletions ManagerSpiel/.classpath

This file was deleted.

1 change: 0 additions & 1 deletion ManagerSpiel/.gitignore

This file was deleted.

18 changes: 0 additions & 18 deletions ManagerSpiel/.project

This file was deleted.

11 changes: 0 additions & 11 deletions ManagerSpiel/.settings/org.eclipse.jdt.core.prefs

This file was deleted.

45 changes: 45 additions & 0 deletions src/optimization/FirstLeagueManagerSpielProblemWinter.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package optimization;
import java.util.Collection;
import java.util.List;

import IO.IOHelper;

import com.google.inject.Inject;

public class FirstLeagueManagerSpielProblemWinter implements ManagerSpielProblem {

private List<Player> players;
private List<Player> excludedPlayers;
private List<Player> includedPlayers;
private List<Player> winterPlayers;

@Inject
public FirstLeagueManagerSpielProblemWinter() {
players = IOHelper.loadPlayersFromCSV("spieler_ersteliga_winter.csv");
excludedPlayers = IOHelper.loadPlayersFromCSV("exclusion_ersteliga.csv");
includedPlayers = IOHelper.loadPlayersFromCSV("inclusion_ersteliga.csv");
winterPlayers = IOHelper.loadPlayersFromCSV("current_clean.csv");

}

@Override
public Collection<Player> getPlayers() {
return players;
}

@Override
public Collection<Player> getExcludedPlayers() {
return excludedPlayers;
}

@Override
public Collection<Player> getIncludedPlayers() {
return includedPlayers;
}

@Override
public Collection<Player> getWinterPlayers() {
return winterPlayers;
}

}

0 comments on commit 0ef790e

Please sign in to comment.