1 #ifndef NULL_SEMANTIC_EVENT_H_
2 #define NULL_SEMANTIC_EVENT_H_
23 return boost::make_shared<Null_semantic_event>();
32 void print(std::ostream&)
const {}
void print(std::ostream &) const
display this node's data in human readable form
Definition: Null_semantic_event.h:32
const Key_slots::Map & var_map() const
return reference to the map between variable names and positions
Definition: Null_semantic_event.h:38
Definition: Semantic_step_event.h:15
void update_step(const Step_code_t &)
Definition: Null_semantic_event.h:36
Semantic_step_event::Event_ptr get_a_copy(bool) const
Definition: Null_semantic_event.h:21
boost::shared_ptr< Semantic_step_event > Event_ptr
Definition: Semantic_step_event.h:18
Definition: Null_semantic_event.h:16
void resample_table_assignments()
resample CRP table assignments for all component event views
Definition: Null_semantic_event.h:30
Null_semantic_event()
Definition: Null_semantic_event.h:19
void update_event_views()
update event views
Definition: Null_semantic_event.h:28
boost::bimap< int, std::string > Map
Definition: Event_traits.h:34
double log_probability(const bool &) const
compute log probability of this event
Definition: Null_semantic_event.h:26
Code
Definition: SemanticIO.h:54
static const Key_slots::Map variable_map
Definition: Event_traits.h:275
void print_view_counts(std::ostream &) const
pure virtual dummy — instantiated versions display count data
Definition: Null_semantic_event.h:34