Class Inconsistencies¶
Defined in File Inconsistencies.hpp
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
class
rmf_traffic::schedule
::
Inconsistencies
¶ An Inconsistency occurs when one or more ItineraryVersion values get skipped by the inputs into the database. This container expresses the ranges of which ItineraryVersions were skipped for a single Participant.
Iterators
Public Types
-
using
base_iter
= rmf_traffic::detail::forward_iterator<E, I, F>¶
-
using
const_iterator
= base_iter<const Element, IterImpl, Inconsistencies>¶
Public Functions
-
const_iterator
begin
() const¶ Get the beginning iterator.
-
const_iterator
cbegin
() const¶ Explicitly const-qualified alternative for begin()
-
const_iterator
end
() const¶ Get the one-past-the-end iterator.
-
const_iterator
cend
() const¶ Explicitly const-qualified alternative for end()
-
const_iterator
find
(ParticipantId id) const¶ Get the iterator for this ParticipantId.
-
std::size_t
size
() const¶ Get the number of participants with inconsistencies.
-
struct
Element
¶ An element of the Inconsistencies container. This tells the ranges of inconsistencies that are present for the specified Participant.
-
class
Ranges
¶ A container of the ranges of inconsistencies for a single participant.
Public Functions
-
const_iterator
begin
() const¶ Get the beginning iterator.
-
const_iterator
cbegin
() const¶ Explicitly const-qualified alternative for begin()
-
const_iterator
end
() const¶ Get the one-past-the-end iterator.
-
const_iterator
cend
() const¶ Explicitly const-qualified alternative for end()
-
std::size_t
size
() const¶ Get the number of ranges in this container.
-
ItineraryVersion
last_known_version
() const¶ Get the value of the last itinerary version that has been received.
-
const_iterator
-
using