|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CS 537, Fall 2002, Project 2. Constants and parameters of the energy trading operation.
Copyright © 2002 by Marvin Solomon. All rights reserved.
Field Summary | |
static String[] |
cname
Table translating commodity codes to names. |
static int |
COAL
Code for the coal commodity |
static int |
COMMODITIES
Number of commodities |
static String[] |
cunit
Table translating commodities to units. |
static int |
ELEC
Code for the electricity commodity |
static int |
GAS
Code for the natural gas commodity |
static int |
OIL
Code for the oil commodity |
Field Detail |
public static final int COMMODITIES
public static final int COAL
public static final int OIL
public static final int GAS
public static final int ELEC
public static final String[] cname
cname[COAL] == "coal"
.
public static final String[] cunit
cunit[COAL] = "ton"
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |