码迷,mamicode.com
首页 >  
搜索关键字:generate    ( 3129个结果
JAVA-1.7-上机
1、定义一个点类Point,包含2个成员变量x、y分别表示x和y坐标,2个构造器Point()和Point(intx0,y0),以及一个movePoint(int dx,int dy)方法实现点的位置移动,创建两个 Point对象p1、p2,分别调用movePoint方法后,打印p1和p2的坐标。[ ...
分类:编程语言   时间:2020-04-30 13:18:47    阅读次数:52
4.30
1、定义一个点类Point,包含2个成员变量x、y分别表示x和y坐标,2个构造器Point()和Point(intx0,y0),以及一个movePoint(int dx,int dy)方法实现点的位置移动,创建两个Point对象p1、p2,分别调用movePoint方法后,打印p1和p2的坐标。[必 ...
分类:其他好文   时间:2020-04-30 11:47:01    阅读次数:46
人工免疫
人工免疫算法(Immune Algorithm)是一种具有生成+检测 (generate and test)的迭代过程的群智能搜索算法。从理论上分析,迭代过程中,在保留上一代最佳个体的前提下,免疫算法是全局收敛的。 基本步骤 抗原识别:输入目标函数和各种约束作为免疫算法的抗原。 初始抗体生成:随机生 ...
分类:其他好文   时间:2020-04-24 14:36:47    阅读次数:78
vpp l3 bvi
A bridge-domain can be associated with only one BVI. However a vrf can contain routes to multiple BVIs. To configure a BVI interface, create it using ...
分类:其他好文   时间:2020-04-23 19:28:06    阅读次数:94
2020.4.23
package les; public class ddy { public static void main(String[] args) { // TODO Auto-generated method stub bijiben p=new bijiben(); p.color='红'; p.cp ...
分类:其他好文   时间:2020-04-23 11:57:33    阅读次数:85
【Python面向对象】(12)用生成器和迭代器模拟range函数
def use_range(): """python内置range函数""" for i in range(5, 10): print(i) class IterateRange(object): """使用迭代器模拟range函数""" def __init__(self, start, end) ...
分类:编程语言   时间:2020-04-22 14:48:58    阅读次数:73
How to write XML-RPC clients
https://effbot.org/zone/element-xmlrpc.htm Using ElementTrees to Generate XML-RPC Messages July 11, 2002 | Fredrik Lundh This is a work in progress. T ...
分类:其他好文   时间:2020-04-22 09:41:35    阅读次数:56
118. 杨辉三角
给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 1 class Solution(object): 2 def generate(self, numRows): 3 """ 4 :type numRows: int 5 :r ...
分类:其他好文   时间:2020-04-21 23:46:26    阅读次数:62
SQL Change Automation --> Baseline scripts
Creating the baseline script When generating a baseline script, SQL Change Automation will generate a single migration script for all the objects in y ...
分类:数据库   时间:2020-04-21 18:23:33    阅读次数:76
第七周JAVA
定义一个矩形类Rectangle:(知识点:对象的创建和使用)1 定义三个方法:getArea()求面积、getPer()求周长,showAll()分别在控制台输出长、宽、面积、周长。2 有2个属性:长length、宽width3 创建一个Rectangle对象,并输出相关信息 public cla ...
分类:编程语言   时间:2020-04-20 16:07:27    阅读次数:75
3129条   上一页 1 ... 17 18 19 20 21 ... 313 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!