+
+void Layer::fill_static(Vocab vocab)
+{
+ Vocab::const_iterator viter;
+ for(viter=vocab.begin();viter!=vocab.end();viter++)
+ {
+ if(static_params.find(viter->get_name())==static_params.end())
+ static_params.insert(make_pair(viter->get_name(),false));
+ }
+}
+
+
+bool
+Layer::get_param_static(const String ¶m) const
+{
+
+ Sparams::const_iterator iter=static_params.find(param);
+ if(iter!=static_params.end())
+ return iter->second;
+ return false;
+}
+
+