Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## bot.module.th.estimation
Interface IF_Estimation

All Superinterfaces:
  IF_GetEstimation

All Known Implementing Classes:
  Estimation

    public interface IF_Estimation

extends IF_GetEstimation

Interface of module estimation It is able to: - get historical information of the player - get current information of the player - estimates the opponent by a particular style - offers the estimation via a Map This module is one of many possible implementations of how to estimate an opponent. All estimating modules should extend the superInterface IF_GetEstimation

Author:
  Witthold/Korol

Method Summary
`boolean` | `estimate()` estimate opponent over all rounds TODO booleans to IF_EstimationAtRound
`void` | `estimateCompletedCompetitions(int gamedef_id)` process all completed competitions right now since the participation players are unknown right now estimate all players played this gamedef
`java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,Opponent>>` | `getOpponentsEstimations()`
`boolean` | `initNewCompetition()` set currently running competition cleanup opponentsEstimations by not participating estimated players

Method Detail

### estimateCompletedCompetitions

    void estimateCompletedCompetitions(int gamedef_id)

  process all completed competitions right now
  since the participation players are unknown right now
  estimate all players played this gamedef

  Parameters:
    `gamedef_id` - - already generated by db -

### initNewCompetition

    boolean initNewCompetition()

  set currently running competition
  cleanup opponentsEstimations by not participating estimated players

  Returns:
    competition is new

### estimate

    boolean estimate()

  estimate opponent over all rounds TODO booleans to IF_EstimationAtRound

  Returns:
    true, if no errors occured

### getOpponentsEstimations

    java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,Opponent>> getOpponentsEstimations()

  Returns:
    Map opponentsEstimations holding all estimations by opponent and competition Maps format:
    playerId, Map oppPerCompetition: competitionId, estimation

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD