MCPcopy Create free account
hub / github.com/avaneev/biteopt / CBiteOptDeep

Class CBiteOptDeep

biteopt.h:1622–1853  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1620 */
1621
1622class CBiteOptDeep : public CBiteOptInterface
1623{
1624public:
1625 CBiteOptDeep()
1626 : ParamCount( 0 )
1627 , OptCount( 0 )
1628 , Opts( NULL )
1629 {
1630 }
1631
1632 virtual ~CBiteOptDeep()
1633 {
1634 deleteBuffers();
1635 }
1636
1637 virtual const double* getBestParams() const
1638 {
1639 return( BestOpt -> getBestParams() );
1640 }
1641
1642 virtual double getBestCost() const
1643 {
1644 return( BestOpt -> getBestCost() );
1645 }
1646
1647 virtual const double* getLastCosts() const
1648 {
1649 return( LastOpt -> getLastCosts() );
1650 }
1651
1652 virtual const double* getLastValues() const
1653 {
1654 return( LastOpt -> getLastValues() );
1655 }
1656
1657 /**
1658 * Function returns a pointer to an array of selectors in use by the
1659 * current CBiteOpt object.
1660 */
1661
1662 CBiteSelBase** getSels()
1663 {
1664 return( CurOpt -> getSels() );
1665 }
1666
1667 /**
1668 * Function returns a pointer to an array of selector names.
1669 */
1670
1671 const char** getSelNames() const
1672 {
1673 return( CurOpt -> getSelNames() );
1674 }
1675
1676 /**
1677 * Function returns the number of selectors in use by the current CBiteOpt
1678 * object.
1679 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected