// /*-------------------------------------------------------------------*\ // | Concrete Instance : Natural_Root_1 // \*-------------------------------------------------------------------*/ #ifndef CI_NATURAL_ROOT_1 #define CI_NATURAL_ROOT_1 1 ///------------------------------------------------------------------------ /// Global Context -------------------------------------------------------- ///------------------------------------------------------------------------ #include "CI/Natural/Power_2.h" #include "AI/Natural/Root.h" ///------------------------------------------------------------------------ /// Interface ------------------------------------------------------------- ///------------------------------------------------------------------------ concrete_instance class Natural_Root_1 : extends concrete_instance Natural_Power_2, implements abstract_instance Natural_Root { public: procedure Root ( preserves Integer r ) { //-------- for students to fill in -------- } }; #endif // CI_NATURAL_ROOT_1