div.hh gecode/int.hh gecode/int/div.hpp /usr/include/gecode/int/arithmetic/mult.hpp /usr/include/gecode/int/view/scale.hpp Gecode Gecode::Int /*-*-mode:C++;c-basic-offset:2;indent-tabs-mode:nil-*-*/ /* *Mainauthors: *ChristianSchulte<schulte@gecode.org> * *Copyright: *ChristianSchulte,2013 * *Lastmodified: *$Date:2013-02-1915:42:19+0100(Tue,19Feb2013)$by$Author:schulte$ *$Revision:13315$ * *ThisfileispartofGecode,thegenericconstraint *developmentenvironment: *http://www.gecode.org * *Permissionisherebygranted,freeofcharge,toanypersonobtaining *acopyofthissoftwareandassociateddocumentationfiles(the *"Software"),todealintheSoftwarewithoutrestriction,including *withoutlimitationtherightstouse,copy,modify,merge,publish, *distribute,sublicense,and/orsellcopiesoftheSoftware,andto *permitpersonstowhomtheSoftwareisfurnishedtodoso,subjectto *thefollowingconditions: * *Theabovecopyrightnoticeandthispermissionnoticeshallbe *includedinallcopiesorsubstantialportionsoftheSoftware. * *THESOFTWAREISPROVIDED"ASIS",WITHOUTWARRANTYOFANYKIND, *EXPRESSORIMPLIED,INCLUDINGBUTNOTLIMITEDTOTHEWARRANTIESOF *MERCHANTABILITY,FITNESSFORAPARTICULARPURPOSEAND *NONINFRINGEMENT.INNOEVENTSHALLTHEAUTHORSORCOPYRIGHTHOLDERSBE *LIABLEFORANYCLAIM,DAMAGESOROTHERLIABILITY,WHETHERINANACTION *OFCONTRACT,TORTOROTHERWISE,ARISINGFROM,OUTOFORINCONNECTION *WITHTHESOFTWAREORTHEUSEOROTHERDEALINGSINTHESOFTWARE. * */ #ifndef__GECODE_INT_DIV_HH__ #define__GECODE_INT_DIV_HH__ #include<gecode/int.hh> namespaceGecode{namespaceInt{ template<classIntType> IntTypeceil_div_pp(IntTypex,IntTypey); template<classIntType> IntTypefloor_div_pp(IntTypex,IntTypey); template<classIntType> IntTypeceil_div_px(IntTypex,IntTypey); template<classIntType> IntTypefloor_div_px(IntTypex,IntTypey); template<classIntType> IntTypeceil_div_xp(IntTypex,IntTypey); template<classIntType> IntTypefloor_div_xp(IntTypex,IntTypey); template<classIntType> IntTypeceil_div_xx(IntTypex,IntTypey); template<classIntType> IntTypefloor_div_xx(IntTypex,IntTypey); }} #include<gecode/int/div.hpp> #endif //STATISTICS:int-prop