<s> from __future__ import print_function <EOL> import ContinuousComponentModel as CCM <EOL> hyper_map = dict ( ) <EOL> hyper_map [ "<STR_LIT>" ] = <NUM_LIT:1.0> <EOL> hyper_map [ "<STR_LIT:s>" ] = <NUM_LIT:1.0> <EOL> hyper_map [ "<STR_LIT>" ] = <NUM_LIT:1.0> <EOL> hyper_map [ "<STR_LIT:r>" ] = <NUM_LIT> <EOL> CCM . set_string_double_map ( hyper_map ) <EOL> component_model = CCM . p_ContinuousComponentModel ( hyper_map ) <EOL> print ( component_model . calc_marginal_logp ( ) ) <EOL> component_model . insert_element ( <NUM_LIT> ) <EOL> print ( component_model . calc_marginal_logp ( ) ) <EOL> print ( component_model ) <EOL> print ( "<STR_LIT>" , component_model . get_draw ( <NUM_LIT:0> ) ) <EOL> print ( "<STR_LIT>" , component_model . get_draw ( <NUM_LIT:1> ) ) <EOL> component_model . remove_element ( <NUM_LIT> ) <EOL> print ( component_model . calc_marginal_logp ( ) ) </s>
