LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
intercept_simulator_self.h
Go to the documentation of this file.
1// -*-c++-*-
2
8/*
9 *Copyright:
10
11 Copyright (C) Hidehisa AKIYAMA
12
13 This code is free software; you can redistribute it and/or
14 modify it under the terms of the GNU Lesser General Public
15 License as published by the Free Software Foundation; either
16 version 3 of the License, or (at your option) any later version.
17
18 This library is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public
24 License along with this library; if not, write to the Free Software
25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
27 *EndCopyright:
28 */
29
31
32#ifndef RCSC_PLAYER_INTERCEPT_SIMULATOR_SELF_H
33#define RCSC_PLAYER_INTERCEPT_SIMULATOR_SELF_H
34
36
37namespace rcsc {
38
39class WorldModel;
40
42private:
43
44protected:
45
48
49public:
50
52 virtual
54
61 virtual
62 void simulate( const WorldModel & wm,
63 const int max_step,
64 std::vector< Intercept > & self_results ) = 0;
65
66};
67
68}
69
70#endif
Definition: intercept_simulator_self.h:41
InterceptSimulatorSelf()=default
protected constructor since this is an abstract class
virtual ~InterceptSimulatorSelf()=default
virtual destructor
virtual void simulate(const WorldModel &wm, const int max_step, std::vector< Intercept > &self_results)=0
pure virtual function. simulate self interception, and store the results to self_results
player's internal field status
Definition: world_model.h:67
interception info holder Header File