class FantasyFootballNerd::Genetic::Team
- FantasyFootballNerd::Genetic::Team
- Reference
- Object
Defined in:
fantasy_football_nerd/genetic/team.crConstructors
Class Method Summary
Instance Method Summary
- #d : Player
- #d=(d : Player)
- #fitness
- #is_uniq?
- #k : Player
- #k=(k : Player)
- #mutate(players)
- #qb : Player
- #qb=(qb : Player)
- #rb1 : Player
- #rb1=(rb1 : Player)
- #rb2 : Player
- #rb2=(rb2 : Player)
- #roster
- #salary_sum
- #te : Player
- #te=(te : Player)
- #wr1 : Player
- #wr1=(wr1 : Player)
- #wr2 : Player
- #wr2=(wr2 : Player)
- #wr3 : Player
- #wr3=(wr3 : Player)
Constructor Detail
def self.new(qb : FantasyFootballNerd::Genetic::Player, rb1 : FantasyFootballNerd::Genetic::Player, rb2 : FantasyFootballNerd::Genetic::Player, wr1 : FantasyFootballNerd::Genetic::Player, wr2 : FantasyFootballNerd::Genetic::Player, wr3 : FantasyFootballNerd::Genetic::Player, te : FantasyFootballNerd::Genetic::Player, k : FantasyFootballNerd::Genetic::Player, d : FantasyFootballNerd::Genetic::Player)
#