Difference between revisions of "Defining Utility as a deterministic table"
Davidpaine (talk | contribs) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category: Party Problem model]] | [[Category: Party Problem model]] | ||
+ | [[Category: Definitions]] | ||
Line 6: | Line 7: | ||
*Press tab key to get to get to Description field. | *Press tab key to get to get to Description field. | ||
*Type ‘The utility, or value to me, given party location and weather outcome, assigned in dollars.’ | *Type ‘The utility, or value to me, given party location and weather outcome, assigned in dollars.’ | ||
− | *Open | + | *Open pulldown menu of expression. |
*Select Other | *Select Other | ||
− | [[Image:Object Utility.jpg]] | + | :[[Image:Object Utility.jpg]] |
'''Expected: Object finder window should appear''' | '''Expected: Object finder window should appear''' | ||
− | [[Image:Object LibraryJPG.jpg]] | + | :[[Image:Object LibraryJPG.jpg]] |
− | *Click Library popup menu, select array | + | *Click Library popup menu, select array -> Table Functions |
− | + | :[[Image: Object array.png]] | |
− | [[Image:Object | ||
*Scroll down on the main window and select ‘Determtable()’. | *Scroll down on the main window and select ‘Determtable()’. | ||
Line 24: | Line 24: | ||
*Select Party Location and Weather as your indexes | *Select Party Location and Weather as your indexes | ||
− | [[Image:Object finder indexes.jpg]] | + | :[[Image:Object finder indexes.jpg]] |
*Click ‘ok’ button. | *Click ‘ok’ button. | ||
− | [[Image:Indexes P.L.W.jpg]] | + | :[[Image:Indexes P.L.W.jpg]] |
*Click ‘ok’ on the Object finder window. | *Click ‘ok’ on the Object finder window. | ||
'''Expected: Determ edit table should appear.''' | '''Expected: Determ edit table should appear.''' | ||
− | + | *If necessary, change the row index to 'Party location' and the columns Domain of weather. | |
*Click on column Sunny, row header Outdoor. | *Click on column Sunny, row header Outdoor. | ||
*Change 0 To 100 | *Change 0 To 100 | ||
Line 46: | Line 46: | ||
*Click the green checkbox. | *Click the green checkbox. | ||
− | [[Image:Edit table utility.jpg]] | + | :[[Image:Edit table utility.jpg]] |
*Press result button | *Press result button | ||
Line 56: | Line 56: | ||
==See Also== | ==See Also== | ||
* [[Creating the Party Problem model (based on chapter 6 of tutorial)]] | * [[Creating the Party Problem model (based on chapter 6 of tutorial)]] | ||
− | * [[ | + | * [[Tutorial: Decision trees]] |
Latest revision as of 08:16, 21 January 2019
- Double click on ‘Utility’ to bring up its object window
- Click on the Units field, type ‘$’.
- Press tab key to get to get to Description field.
- Type ‘The utility, or value to me, given party location and weather outcome, assigned in dollars.’
- Open pulldown menu of expression.
- Select Other
Expected: Object finder window should appear
- Click Library popup menu, select array -> Table Functions
- Scroll down on the main window and select ‘Determtable()’.
- Click ‘indexes’ button.
Indexes window should appear
- Select Party Location and Weather as your indexes
- Click ‘ok’ button.
- Click ‘ok’ on the Object finder window.
Expected: Determ edit table should appear.
- If necessary, change the row index to 'Party location' and the columns Domain of weather.
- Click on column Sunny, row header Outdoor.
- Change 0 To 100
- Arrow down
- Replace o to 90
- Arrow down
- Change o to 40
- Click on column header Rainy, row header Porch
- Replace 0 with 20
- Arrow down
- Replace cell value 0 with 50
- Click the green checkbox.
- Press result button
Expected: Result table of Utility will appear with row headers, Indoors, Outdoor, Porch and cell values 0, 20,50 will show
- Click on the Diagram button to return to the diagram window.
See Also
Comments
Enable comment auto-refresher