Changeset 3334

Show
Ignore:
Timestamp:
05/12/08 15:55:35 (2 months ago)
Author:
hana
Message:

(hana) template for choice_model specification with equations

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/urbansim/configs/urbansim.xml

    r3322 r3334  
    162162   </submodel> 
    163163   </model_template> 
     164   <choice_model_with_equations_template  type="dictionary" copyable='True'> 
     165   <all_variables type="dictionary"> 
     166     <var1 type="variable_definition" copyable='True'>var1 = package.dataset.some_variable_or_expression</var1> 
     167   </all_variables> 
     168   <submodel type="submodel" copyable='True'> 
     169      <description type="string">No submodel</description> 
     170      <submodel_id type="integer">-2</submodel_id> 
     171      <choice_1 type="choice" copyable='True'> 
     172        <equation_id type="integer">1</equation_id> 
     173        <variables type="selectable_list"> 
     174             <constant choices="Use|Skip" type="variable" copyable='True'>Use</constant> 
     175        </variables> 
     176        </choice_1> 
     177        <choice_2 type="choice" copyable='True'> 
     178          <equation_id type="integer">2</equation_id> 
     179          <variables type="selectable_list"> 
     180             <var1 choices="Use|Skip" type="variable" copyable='True'>Skip</var1> 
     181           </variables> 
     182        </choice_2> 
     183   </submodel> 
     184   </choice_model_with_equations_template> 
    164185   <estimation_config type="dictionary"> 
    165186        <cache_directory parser_action="prefix_with_opus_data_path" type="directory" >fill in (relative to OPUS_DATA_PATH)</cache_directory>