NEWS.md
copy_from
method to the Bitset
class.num_bits
a compile-time constant expression.filter_bitset
.tests/performance
PR here
IterableBitset
object can be run without giving LTO check errors (see src/test-bitset.cpp
)Bitset$clear
to zero out all set bits in bitsets PR here
DoubleVariable
and IntegerVariable
updates could change size of the variable object PR here
NEWS.md
file to track changes to the package.Event.h
now defines class methods outside of the class definition for easier readability, and add documentation.TargetedEvent$schedule
now dispatches to different C++ functions in event.cpp
and Event.h
depending on if input index is a bitset or vector (previous behavior used bitset’s method in R to pass a vector).test-event.R
now only contains tests for Event
class, new test file test-targetedevent.R
contains a much updated suite of tests for the TargetedEvent
class.CategoricalVariable
could be queued updates for indices in a vector that were outside the range of the population.Bitset$not
to operate in place. inplace = FALSE will be deprecated in 0.2.0Bitset
for argument index
, queue_update
methods for IntegerVariable
and DoubleVariable
pass the bitset directly to the C++ functions integer_variable_queue_update_bitset
and double_variable_queue_update_bitset
rather than converting to vector and using vector methods.CategoricalVariable.h
, IntegerVariable.h
, and DoubleVariable.h
now define class methods outside of the class definition for easier readability, and add documentation.CategoricalVariable
, IntegerVariable
, and DoubleVariable
classes define a virtual destructor with default implementation.get_index_of_set
and get_size_of_set_vector
methods for IntegerVariable
now pass arguments by reference.get_values
method for IntegerVariable
and DoubleVariable
corrected to return value rather than reference.get_values
for IntegerVariable
and DoubleVariable
to accept std::vector<size_t>
as argument rather than converting to bitset.bitset_to_vector_internal
to IterableBitset.h
.testthat/test/test-variables.R
into testthat/test/test-categoricalvariable.R
, testthat/test/test-integervariable.R
, and testthat/test/test-doublevariable.R
#include
statements from header files.size_t
types.