Ignore:
Timestamp:
Aug 20, 2014, 1:06:16 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
ff72fb
Parents:
0b517b
git-author:
Frederik Heber <heber@…> (07/12/14 19:07:44)
git-committer:
Frederik Heber <heber@…> (08/20/14 13:06:16)
Message:

recurseMatching() now takes connections into account.

  • matchSphericalPointDistribution() replaced by getRemainingPoints() as that describes what it does. match...() sounds symmetrical which the function is no longer as connection is associated with former _newpolygon.
  • SphericalPointDistribution now has internal points and adjacency, initialized by initSelf().
  • findBestMatching() and getRemainingPoints() are no longer static functions.
  • all unit tests are working again, including the .._multiple() that tests for joint points due to bond degree greater than 1.
  • the huge case switch in SaturatedFragment::saturateAtom() now resides in initSelf().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/unittests/SphericalPointDistributionUnitTest.hpp

    r0b517b re6ca85  
    5959    CPPUNIT_TEST ( getConnectionTest<12> );
    6060    CPPUNIT_TEST ( getConnectionTest<14> );
    61     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_2 );
    62     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_3 );
    63     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_4 );
    64     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_5 );
    65     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_6 );
    66     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_7 );
    67     CPPUNIT_TEST ( matchSphericalPointDistributionsTest_8 );
    68 //    CPPUNIT_TEST ( matchSphericalPointDistributionsTest_multiple );
     61    CPPUNIT_TEST ( getRemainingPointsTest_2 );
     62    CPPUNIT_TEST ( getRemainingPointsTest_3 );
     63    CPPUNIT_TEST ( getRemainingPointsTest_4 );
     64    CPPUNIT_TEST ( getRemainingPointsTest_5 );
     65    CPPUNIT_TEST ( getRemainingPointsTest_6 );
     66    CPPUNIT_TEST ( getRemainingPointsTest_7 );
     67    CPPUNIT_TEST ( getRemainingPointsTest_8 );
     68    CPPUNIT_TEST ( getRemainingPointsTest_multiple );
    6969    CPPUNIT_TEST_SUITE_END();
    7070
     
    7575      void areEqualToWithinBoundsTest();
    7676      void joinPointsTest();
    77       void matchSphericalPointDistributionsTest_2();
    78       void matchSphericalPointDistributionsTest_3();
    79       void matchSphericalPointDistributionsTest_4();
    80       void matchSphericalPointDistributionsTest_5();
    81       void matchSphericalPointDistributionsTest_6();
    82       void matchSphericalPointDistributionsTest_7();
    83       void matchSphericalPointDistributionsTest_8();
    84       void matchSphericalPointDistributionsTest_multiple();
     77      void getRemainingPointsTest_2();
     78      void getRemainingPointsTest_3();
     79      void getRemainingPointsTest_4();
     80      void getRemainingPointsTest_5();
     81      void getRemainingPointsTest_6();
     82      void getRemainingPointsTest_7();
     83      void getRemainingPointsTest_8();
     84      void getRemainingPointsTest_multiple();
    8585
    8686private:
Note: See TracChangeset for help on using the changeset viewer.