代码搜索结果
找到约 738 项符合
Pressure 的代码
pressurevessel.java
/**
* Description: Benchmark function (Pressure Vessel).
* X*(Optimal point):
* X1=42.09844546451396
* X2=176.63659783549562
* X3=13 (Discrete variable)
* X4=7 (Discrete variable)
* Y
observer.java
package headfirst.observer.weather;
public interface Observer {
public void update(float temp, float humidity, float pressure);
}
pressure.java
package com.oozinoz.units;
/*
* Copyright (c) 2001 Steven J. Metsker.
*
* Steve Metsker makes no representations or warranties about
* the fitness of this software for any particular purpo
pressure.java
package com.oozinoz.units;
/*
* Copyright (c) 2001 Steven J. Metsker.
*
* Steve Metsker makes no representations or warranties about
* the fitness of this software for any particular purpo
pressure.c
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of t
pressure.c
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of t
observer.java
package headfirst.observer.weather;
public interface Observer {
public void update(float temp, float humidity, float pressure);
}
forces.cpp
/* -*- indent-tabs-mode:T; c-basic-offset:8; tab-width:8; -*- vi: set ts=8:
* $Id: Forces.cpp,v 2.0 2002/09/22 02:07:31 tramm Exp $
*
* (c) Aaron Kahn
* (c) Trammell Hudson
*
* Random force mani
weatherdata.java
package headfirst.observer.weatherobservable;
import java.util.Observable;
import java.util.Observer;
public class WeatherData extends Observable {
private float temperature;
private float humid
weatherdata.java
package headfirst.observer.weather;
import java.util.*;
public class WeatherData implements Subject {
private ArrayList observers;
private float temperature;
private float humidity;
private floa