代码搜索结果
找到约 5,431 项符合
Temperature 的代码
deepcopy.java
//: appendixa:DeepCopy.java
// Cloning a composed object.
// {Depends: junit.jar}
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.
boltzman.edt
Temperature Valid Length Tour
100.000000 no []->[]->[]->[]->[]->[]->[]->[]->[]->[]
99.000000 no []->[]->[]->[]->[]->[]->[]->[]->[]->[]
98.01000
boltzman.txt
Temperature Valid Length Tour
100.000000 no [] -> [] -> [] -> [] -> [] -> [] -> [] -> [] -> [] -> []
99.000000 no [] -> [] -> [] -> [] -> [] -> []
18b20_.lst
C51 COMPILER V7.06 18B20_ 10/13/2007 01:28:18 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE 18B20_
OBJECT MODULE PLACED IN
18b20.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
#define dq P0_0
bit flag;
uint Temperature;
uchar temp_buff[9]; //存储读取的字节,read scratchpad为9字节,re
observer.h
#pragma once
class CObserver
{
public:
CObserver(void);
~CObserver(void);
virtual void update(float temperature, float humidity, float pressure)=0;
};
currentconditionsdisplay.h
#pragma once
class CCurrentConditionsDisplay :
public CObserver,public CDisplayElement
{
private:
float temperature;
float humidity;
float pressure;
CSubject* weatherData;
public:
CC
currentconditionsdisplay.cpp
#include "StdAfx.h"
#include ".\currentconditionsdisplay.h"
CCurrentConditionsDisplay::CCurrentConditionsDisplay(CSubject& weather)
{
weatherData=&weather;
weatherData->registerObserver(this)
observer.cpp
#include "StdAfx.h"
#include ".\observer.h"
CObserver::CObserver(void)
{
}
CObserver::~CObserver(void)
{
}
//void CObserver::update(float temperature, float humidity, float pressure)
//{
psosa.m
clc
clear
%初始化粒子群算法参数
n = 20;
m = 6;
[pop,gbest,zbest,fitnessgbest,fitnesszbest,V] = initiation(n,m);
fitnesszbest
%设置参数
wstart = 1.0;
wend = 0.9;
Tmax = 6000;
Vmax = 6;
Vmin = -6;
c1 =