Ignore:
Timestamp:
Feb 26, 2008, 8:06:28 PM (14 years ago)
Author:
Peter
Message:

removed dynamic_casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/KernelLookup.h

    r1134 r1165  
    3838namespace classifier {
    3939
    40   class DataLookup2D;
    4140  class KernelFunction;
    4241  class MatrixLookup;
     
    210209    /// \return data that KernelLookup is built upon.
    211210    ///
    212     /// @note Returns a dynamically allocated MatrixLookup, which has
    213     /// to be deleted by the caller to avoid memory leaks.
    214     ///
    215     const DataLookup2D* data(void) const;
     211    /// \throw if KernelLookup is weighted
     212    ///
     213    utility::SmartPtr<const MatrixLookup> data(void) const;
     214
     215    ///
     216    /// Each column in returned DataLookup corresponds to the column
     217    /// in KernelLookup.
     218    ///
     219    /// \return data that KernelLookup is built upon.
     220    ///
     221    /// \throw if KernelLookup is unweighted
     222    ///
     223    utility::SmartPtr<const MatrixLookupWeighted> data_weighted(void) const;
    216224
    217225    /**
     
    275283       this was built from.
    276284   
    277        @note Returns a dynamically allocated DataLookup2D, which has
     285       @note Returns a dynamically allocated KernelLookup, which has
    278286       to be deleted by the caller to avoid memory leaks.
    279287    */
Note: See TracChangeset for help on using the changeset viewer.