Ignore:
Timestamp:
02/03/06 23:02:07 (18 years ago)
Author:
mattausch
Message:

changed shuffling (but does not work yet...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h

    r584 r586  
    217217        */ 
    218218        void SetupChildLink(ViewCell *l); 
     219        void RemoveChildLink(ViewCell *l); 
    219220        bool IsLeaf() const; 
    220221 
     
    362363                to view cell 2. 
    363364        */ 
    364         void ShuffleLeaf(ViewCell *leaf, ViewCell *vc1, ViewCell *vc2) const;    
     365        void ShuffleLeaf(ViewCell *leaf, ViewCellInterior *vc1, ViewCellInterior *vc2) const;    
    365366                 
    366367        /** Shuffles the leaves, i.e., tests if exchanging 
    367368                the leaves helps in improving the view cells. 
    368369        */ 
    369         bool ShuffleLeaves(ViewCell *l, ViewCell *r) const; 
     370        bool ShuffleLeaves(MergeCandidate &mc) const; 
    370371 
    371372        /** Calculates cost for merge of view cell 1 and 2. 
    372373        */ 
    373         float EvalShuffleCost(ViewCell *leaf, ViewCell *vc1, ViewCell *vc2) const; 
     374        float EvalShuffleCost(ViewCell *leaf,  
     375                                                  ViewCellInterior *vc1,  
     376                                                  ViewCellInterior *vc2) const; 
    374377 
    375378        /** Exports a snapshot of the merged view cells to disc. 
     
    411414        ViewCellContainer mMergedViewCells; 
    412415         
     416 
     417        bool mRefineViewCells; 
    413418 
    414419        /// weights between variance and render cost increase (must be between zero and one) 
Note: See TracChangeset for help on using the changeset viewer.