91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 669KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-07
  • 語言: C/C++
  • 標簽: reliefF??特征選擇??

資源簡介

reliefF算法及其源碼,c語言~~~~~~~~~~~~~~~~~

資源截圖

代碼片段和文件信息

/*
????This?file?is?part?of?Orange.

????Orange?is?free?software;?you?can?redistribute?it?and/or?modify
????it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
????the?Free?Software?Foundation;?either?version?2?of?the?License?or
????(at?your?option)?any?later?version.

????Orange?is?distributed?in?the?hope?that?it?will?be?useful
????but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
????MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
????GNU?General?Public?License?for?more?details.

????You?should?have?received?a?copy?of?the?GNU?General?Public?License
????along?with?Orange;?if?not?write?to?the?Free?Software
????Foundation?Inc.?59?Temple?Place?Suite?330?Boston?MA??02111-1307??USA

????Authors:?Janez?Demsar?Blaz?Zupan?1996--2002
????Contact:?janez.demsar@fri.uni-lj.si
*/


#ifdef?_MSC_VER
??#define?NOMINMAX
??#define?WIN32_LEAN_AND_MEAN //?Exclude?rarely-used?stuff?from?Windows?headers
??#include?
#endif

#include?“c2py.hpp“
#include?“pywrapper.hpp“
#include?“stladdon.hpp“
#include?
#include?
#include?
#include?
#include?
using?namespace?std;

#include?“corn.hpp“
#include?“c2py.hpp“

/*?***********?MODULE?INITIALIZATION?************/

#define?PyTRY?try?{

#define?PYNULL?((Pyobject?*)NULL)
#define?PyCATCH???PyCATCH_r(PYNULL)
#define?PyCATCH_1?PyCATCH_r(-1)

#define?PyCATCH_r(r)?\
??}?\
catch?(pyexception?err)???{?err.restore();?return?r;?}?\
catch?(exception?err)?{?PYERROR(PyExc_CornKernel?err.what()?r);?}


Pyobject?*PyExc_CornKernel;
Pyobject?*PyExc_CornWarning;

CORN_API?void?initcorn()
{?if?(???((PyExc_CornKernel?=?makeExceptionClass(“corn.KernelException“?“An?error?occurred?in?corn‘s?C++?code“))?==?NULL)
??????||?((PyExc_CornWarning?=?makeExceptionClass(“corn.Warning“?“corn?warning“?PyExc_Warning))?==?NULL))
????return;

??Pyobject?*me;
??me?=?Py_InitModule(“corn“?corn_functions);
}


#ifdef?_MSC_VER
BOOL?APIENTRY?DllMain(?HANDLE?hModule?DWORD??ul_reason_for_call?LPVOID?lpReserved)
{?switch?(ul_reason_for_call)
{?case?DLL_PROCESS_ATTACH:case?DLL_THREAD_ATTACH:case?DLL_THREAD_DETACH:case?DLL_PROCESS_DETACH:break;?}
??return?TRUE;
}
#endif

/*?***********?EXCEPTION?CATCHING?ETC.?************/


#include?
#include?

using?namespace?std;

#ifdef?_MSC_VER

#define?cornexception?exception

#else

class?cornexception?:?public?exception?{
public:
???string?err_desc;
???cornexception(const?string?&desc)
???:?err_desc(desc)
???{}

???~cornexception()?throw()
???{}

???virtual?const?char*?what?()?const?throw()
???{?return?err_desc.c_str();?};
};

#endif


exception?CornException(const?string?&anerr)
{?return?cornexception(anerr.c_str());?}

exception?CornException(const?string?&anerr?const?string?&s)
{?char?buf[255];
??sprintf(buf?anerr.c_str()?s.c_str());
??return?cornexception(buf);
}

exception?CornExcep

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????2762??2004-01-23?23:27??source\BUILDING

?????文件??????23983??2006-05-31?09:30??source\corn\corn.cpp

?????文件???????4670??2007-01-11?08:32??source\corn\Corn.dsp

?????文件???????1148??2003-03-31?12:53??source\corn\corn.hpp

?????文件???????6340??2007-01-11?08:32??source\corn\Corn.mak

?????文件????????253??2007-01-11?08:32??source\corn\CVS\Entries

?????文件????????125??2007-01-11?08:32??source\corn\CVS\Entries.Extra

?????文件????????125??2006-08-18?09:03??source\corn\CVS\Entries.Extra.Old

?????文件????????253??2006-08-18?09:03??source\corn\CVS\Entries.Old

?????文件?????????13??2004-09-17?19:23??source\corn\CVS\Repository

?????文件?????????39??2004-09-17?19:23??source\corn\CVS\Root

?????文件??????????9??2007-01-11?08:32??source\corn\CVS\Tag

????..AD.H.?????????0??2008-10-22?16:05??source\corn\CVS

?????文件????????237??2006-08-18?09:03??source\corn\Makefile

????..AD...?????????0??2008-10-22?16:05??source\corn

?????文件????????577??2007-01-11?08:32??source\CVS\Entries

?????文件????????328??2007-01-11?08:32??source\CVS\Entries.Extra

?????文件????????362??2006-08-18?09:03??source\CVS\Entries.Extra.Old

?????文件????????634??2006-08-18?09:03??source\CVS\Entries.Old

?????文件??????????8??2004-09-17?19:23??source\CVS\Repository

?????文件?????????39??2004-09-17?19:23??source\CVS\Root

?????文件??????????9??2007-01-11?08:32??source\CVS\Tag

????..AD.H.?????????0??2008-10-22?16:05??source\CVS

?????文件???????1679??2004-01-23?23:27??source\debugging_orange.txt

?????文件????????103??2003-03-31?12:53??source\dedos

?????文件???????1758??2003-09-01?12:03??source\include\c2py.cpp

?????文件???????2677??2005-06-28?12:40??source\include\c2py.hpp

?????文件???????4129??2007-01-11?08:32??source\include\cMersenneTwister.h

?????文件???????1644??2003-03-31?12:53??source\include\common.cpp

?????文件????????569??2003-09-21?00:12??source\include\crc.h

............此處省略279個文件信息

評論

共有 條評論

相關資源