搜索结果
找到约 656 项符合
dominant-set 的查询结果
数据结构 半数集问题  问题描述: 给定一个自然数n
半数集问题
&#61611 问题描述:
给定一个自然数n,由n开始可以依次产生半数集set(n)中的数如下。
(1) n∈set(n);
(2) 在n的左边加上一个自然数,但该自然数不能超过最近添加的数的一半;
(3) 按此规则进行处理,直到不能再添加自然数为止。
例如,set(6)={6,16,26,126,36,136}。半数集set(6)中有6个元素。
&#61611 ...
其他 The JICQ is the bureau area which JAVA writes according to "Customer s Machine/Server"(C/S) mode mes
The JICQ is the bureau area which JAVA writes according to "Customer s Machine/Server"(C/S) mode message solid hour correspond by letter tool system, the system adopted the SQL Server2000 of Microsoft company as a backstage database, the system passes a JDBC interview database. The system is divided ...
数据结构 a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, lis
a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, list, set, and deque. The smart pointer has an assignment operator and greater than operator that call the target object s operator.
人工智能/神经网络 This program demonstrates some function approximation capabilities of a Radial Basis Function Networ
This program demonstrates some function approximation capabilities of a Radial Basis Function Network.
The user supplies a set of training points which represent some "sample" points for some arbitrary curve. Next, the user specifies the number of equally spaced gaussian centers and the variance for ...
其他 A series of .c and .m files which allow one to perform univariate and bivariate wavelet analysis of
A series of .c and .m files which allow one to perform univariate and bivariate wavelet analysis of discrete time series. Noother wavelet package is necessary -- everything is contained in this archive. The C-code computes the DWT and maximal overlap DWT. MATLAB routines are then used to compute suc ...
其他数据库 首先确认您的机器上已经安装了VC6.0以上版本
首先确认您的机器上已经安装了VC6.0以上版本,要编译生成可执行文件,需打开后缀名为dsw的文件,系统会默认用VC打开,然后选择Build菜单下的Set Active Configuration选项,选择Project Configuration为Win32 Release,然后编译项目,得到可执行文件。连接数据库请参照第2章的方法,在ODBC数据源内添加Microsoft Access数据 ...
VHDL/FPGA/Verilog Simple I2C controller -- 1) No multimaster -- 2) No slave mode -- 3) No fifo s -- -- notes:
Simple I2C controller
-- 1) No multimaster
-- 2) No slave mode
-- 3) No fifo s
--
-- notes:
-- Every command is acknowledged. Do not set a new command before previous is acknowledged.
-- Dout is available 1 clock cycle later as cmd_ack
数据结构 定义一个字符串类String
定义一个字符串类String,其私有成员为一个字符串指针。设计构造函数,拷贝构造函数,析构函数,设置新值函数Set, 打印成员值函数Print。借助此String类,将操作符"=="、">"、"<"的重载函数设置为String类的成员函数,实现对操作符"=="、">"、"<"的重载,使之能直接比较两个String类类型的字符串的大小 ...
数据结构 首先定义一个点类Point
首先定义一个点类Point,其私有成员为其坐标X,Y。设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print。再定义一个线类Line,线类是在公有继承点类的基础上,新增私有成员斜率S,并设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信 ...
VC书籍 本书第二版和第三版之间的变化非常大其中最值得注意的是C++已经通过了国际标 准化这不但为语言增加了新的特性比如异常处理运行时刻类型识别RTTI 名字空 间内置布尔数据类型新的强制转换方式而且还大量
本书第二版和第三版之间的变化非常大其中最值得注意的是C++已经通过了国际标
准化这不但为语言增加了新的特性比如异常处理运行时刻类型识别RTTI 名字空
间内置布尔数据类型新的强制转换方式而且还大量修改并扩展了现有的特性比如模
板template 支持面向对象object-oriented 和基于对象object-based 程序设计所需
要的类clas ...