12.07.2015 Views

flex Examples - LPIS

flex Examples - LPIS

flex Examples - LPIS

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

40 Flex Example Listingstemplate notes2compute ^ for ^ .template notes3^ returns a variance of ^ .template outputoutput ^, ^, ^ and ^ to the screen .% The following top-level action gets as many species and yield% combinations that conform to the answers given.action recommend_species ;do restartand for every valid Species and Yield combinationand obtain seed for Species from Provenanceand compute Variance for Provenancedo output Species, Provenance, Yield and Variance to the screenend for .% The questions are defined in the following sectionquestion siteWhich region is the site located in ? ;choose one of site_types .group site_types'North Scotland','East Scotland','West Scotland' .question soilWhich type of soil can be found at the site ? ;choose one of soil_types .group soil_types'Brown earth','Gley','Peat','Podsol','Ironpan','Intergrade','Bog','Alluvium','Skeletal' .question elevationAt which elevation zone is the site located ? ;choose one of 'Lower','Upper' .question exposureIn which range does the site exposure lie ? ;choose one of exposure_typesbecause 'Low' = TOPEX < 30, and 'High' = TOPEX > 60 .group exposure_types'Low', 'Moderate', 'High'.A Guide to the Flex Expert System Toolkit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!