plugins
Interface IMatchPredictionManager

All Known Implementing Classes:
MatchPredictionManager

public interface IMatchPredictionManager

Manager for the Matchprediction. Use IGUI.createMatchPredictionPanel to show a Matchprediction

Author:
thomas.werth

Method Summary
 java.util.Vector calculateMatch(IMPTeamData home, IMPTeamData away)
          calculates a match ( 90 minutes ) and returns list of events for both teams.
 IMatchResult calculateNMatches(int numberOfMatches, IMPTeamData home, IMPTeamData away)
          calculates a number of matches match ( 90 minutes ) and returns list of events for both teams.
 IMPTeamData generateTeamData(java.lang.String name, IMPTeamRatings _ratings, int _tactic, int _level)
          DOCUMENT ME!
 IMPTeamRatings generateTeamRatings(double midfield, double leftDef, double middleDef, double rightDef, double leftAttack, double middleAttack, double rightAttack)
          DOCUMENT ME!
 IMPMatchData getMatchData(IMPTeamData home, IMPTeamData away)
          get MatchSimulation Engine
 

Method Detail

getMatchData

IMPMatchData getMatchData(IMPTeamData home,
                          IMPTeamData away)
get MatchSimulation Engine

Parameters:
home - TODO Missing Constructuor Parameter Documentation
away - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation

calculateMatch

java.util.Vector calculateMatch(IMPTeamData home,
                                IMPTeamData away)
calculates a match ( 90 minutes ) and returns list of events for both teams.

Parameters:
home - TODO Missing Constructuor Parameter Documentation
away - TODO Missing Constructuor Parameter Documentation
Returns:
Vector holding IMPActions for that match

calculateNMatches

IMatchResult calculateNMatches(int numberOfMatches,
                               IMPTeamData home,
                               IMPTeamData away)
calculates a number of matches match ( 90 minutes ) and returns list of events for both teams.

Parameters:
numberOfMatches - TODO Missing Constructuor Parameter Documentation
home - TODO Missing Constructuor Parameter Documentation
away - TODO Missing Constructuor Parameter Documentation
Returns:
IMatchResult object

generateTeamData

IMPTeamData generateTeamData(java.lang.String name,
                             IMPTeamRatings _ratings,
                             int _tactic,
                             int _level)
DOCUMENT ME!

Parameters:
name - TODO Missing Constructuor Parameter Documentation
_ratings - create an IMPTeamRatings with genereateTeamRatings()
_tactic - choosen tactic for team, like IMatchDetails.TAKTIK_NORMAL
_level - level from 1-20. You can use the constants from ISpieler: ISpieler.gut
Returns:
TODO Missing Return Method Documentation

generateTeamRatings

IMPTeamRatings generateTeamRatings(double midfield,
                                   double leftDef,
                                   double middleDef,
                                   double rightDef,
                                   double leftAttack,
                                   double middleAttack,
                                   double rightAttack)
DOCUMENT ME!

Parameters:
midfield - to be filled with values from 1-80. You can use Constants from ISpieler 4 + Subskill: ISpieler.gut 4 + 0.25 for 7.25 -> good low
leftDef - TODO Missing Constructuor Parameter Documentation
middleDef - TODO Missing Constructuor Parameter Documentation
rightDef - TODO Missing Constructuor Parameter Documentation
leftAttack - TODO Missing Constructuor Parameter Documentation
middleAttack - TODO Missing Constructuor Parameter Documentation
rightAttack - TODO Missing Constructuor Parameter Documentation
Returns:
TODO Missing Return Method Documentation