[Orca-dev] Mapping live_rules state to numerical value

Blair Zajac blair at orcaware.com
Thu Oct 11 20:19:20 PDT 2001


Hi All,

In the Orca group we're working on a single plot to show how each subsystem
is performing using the live_rules.se class.  These are the states shown in

	http://www.sun.com/950901/columns/adrian/column1.html

To map state to number I'm thinking of something exponential like:

	WHITE	=>	 0
	BLUE	=>	 1
	GREEN	=>	 2
	AMBER	=>	 4
	RED	=>	 8
	BLACK	=>	16

Is this mapping representative of the severity, or would people suggest a
different mapping, such as linear?

Best,
Blair



More information about the Orca-dev mailing list