Inheritance diagram for RecursiveFeature:

Public Member Functions | |
| RecursiveFeature (const char *name, bool logDerivs=false, bool normalize=true) | |
| virtual int | getNumWeights () const |
| virtual double | getWeight (int idx) |
| virtual void | setWeight (int idx, double weight) |
| void | addChild (Feature *feature, double weight, const Array< int > &map) |
| Feature * | getChild (int i) |
| int | getNumChildren () const |
| virtual void | invalidateChild (int feature, const Array< int > &fgrounding, Database *db) |
| virtual double | computePartialDeriv (int fi, int wi, const Array< int > &grounding, Database *db) |
| virtual double | computeValue (const Array< int > &grounding, Database *db) |
| virtual double | computeLogValue (const Array< int > &grounding, Database *db) |
| virtual GroundFeature * | constructGroundFeature (GroundRRF *rrf, const Array< int > &grounding, Database *db) |
| virtual void | print (ostream &out) const |
| double | childGroundSum (int childIndex, const Array< int > &parentGrounding, Database *db) |
| ArraysAccessor< int > * | getChildGroundingIter (int childId, const Array< int > &grounding, Database *db) |
| void | releaseChildGroundingIter (int childId, ArraysAccessor< int > *groundingIter) |
| double | getLogZ () const |
| virtual double | getZ () const |
| virtual double | getNorm (int idx) |
| void | cacheNumGroundings (Database *db) |
Protected Attributes | |
| Array< Feature * > | children_ |
| Array< double > | weights_ |
| Array< ArraysAccessor< int > * > | groundingIters_ |
| Array< Array< int > > | termMap_ |
| Array< int > | numGroundings_ |
| bool | doDerivsOfLog_ |
| bool | normalize_ |
| bool | cachedZinvalid_ |
| double | cachedLogZ_ |
| bool | cachedValuesInvalid_ |
| Array< double > | cachedNormalizers_ |
Definition at line 408 of file feature.h.
1.5.1