9 #ifndef IMPKERNEL_MODEL_H
10 #define IMPKERNEL_MODEL_H
12 #include <IMP/kernel/kernel_config.h>
16 IMPKERNEL_BEGIN_NAMESPACE
18 inline bool Model::get_has_dependencies()
const {
19 return !ModelObjectTracker::get_is_dirty()
20 && !dependencies_dirty_;
24 inline unsigned int Model::get_number_of_particles()
const {
29 "Invalid particle requested");
31 "Invalid particle requested");
32 return particle_index_[p];
36 IMPKERNEL_END_NAMESPACE