|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Collector that stores trace events in an Aleph list. More...
#include <Negamax.H>
Public Types | |
| using | Event = AdversarialTraceEvent< Move, Score > |
| using | Container_Type = DynList< Event > |
Public Member Functions | |
| void | operator() (const Event &event) |
| Record one trace event. | |
| void | clear () noexcept |
| Discard all recorded events. | |
| size_t | size () const noexcept |
| Number of recorded events. | |
| bool | is_empty () const noexcept |
| True when no events have been recorded. | |
| const Container_Type & | events () const noexcept |
| Read-only access to the recorded event list. | |
Private Attributes | |
| Container_Type | events_ |
Collector that stores trace events in an Aleph list.
| using Aleph::AdversarialTraceCollector< Move, Score >::Container_Type = DynList<Event> |
| using Aleph::AdversarialTraceCollector< Move, Score >::Event = AdversarialTraceEvent<Move, Score> |
|
inlinenoexcept |
Discard all recorded events.
Definition at line 285 of file Negamax.H.
References Aleph::DynList< T >::clear(), and Aleph::AdversarialTraceCollector< Move, Score >::events_.
|
inlinenoexcept |
Read-only access to the recorded event list.
Definition at line 303 of file Negamax.H.
References Aleph::AdversarialTraceCollector< Move, Score >::events_.
|
inlinenoexcept |
True when no events have been recorded.
Definition at line 297 of file Negamax.H.
References Aleph::AdversarialTraceCollector< Move, Score >::events_, and Aleph::HTList::is_empty().
|
inline |
Record one trace event.
Definition at line 279 of file Negamax.H.
References Aleph::DynList< T >::append(), and Aleph::AdversarialTraceCollector< Move, Score >::events_.
|
inlinenoexcept |
Number of recorded events.
Definition at line 291 of file Negamax.H.
References Aleph::AdversarialTraceCollector< Move, Score >::events_, and Aleph::HTList::size().
|
private |
Definition at line 309 of file Negamax.H.
Referenced by Aleph::AdversarialTraceCollector< Move, Score >::clear(), Aleph::AdversarialTraceCollector< Move, Score >::events(), Aleph::AdversarialTraceCollector< Move, Score >::is_empty(), Aleph::AdversarialTraceCollector< Move, Score >::operator()(), and Aleph::AdversarialTraceCollector< Move, Score >::size().