COM362 Knowledge Engineering - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

COM362 Knowledge Engineering

Description:

If the gun fired, did a spent cartidge case eject from the gun ? ... After firing of a cartridge did the gun jam as it attempet to remove the spent ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 16
Provided by: john245
Category:

less

Transcript and Presenter's Notes

Title: COM362 Knowledge Engineering


1
Adding Advanced Features to an AionDS Application
  • Odin Taylor
  • 0191 515 3207
  • odin.taylor_at_sunderland.ac.uk

2
Adding Explanation Text
  • When the Inference Engine requires a value or
    infers a new value the user should be able to
    query the system
  • The answer to the query should tell the user a
    bit more detail about the questions and also why

3
Adding Explanation Text
  • Explanation text can be easily added in AionDS
  • Select the fire slot (or any object which may use
    explanation text) from your application by double
    clicking on it
  • To open the explanation editor press F4
  • Select Explain from the options

4
Adding Explanation Text
  • The Explain Window

5
Adding Explanation Text
  • In the explanation text window type
  • Then press F7 to check its OK, if it is then
    press F8
  • Add the following help text to the rest of the
    slots

I am trying to determine if a cartridge was fired
as this would indicate the current condition of
the firing pin
6
Adding Explanation Text
  • Eject
  • Engage

If the gun fired, did a spent cartidge case eject
from the gun ? I needs this information to
determine the state of the ejector block
Can you make an observation to see if the eject
block has pushed a cartridge from the magazine
into the chamber ? I need this information to
determine the condition of the ejector block
7
Adding Explanation Text
  • Jam

After firing of a cartridge did the gun jam as it
attempet to remove the spent cartridge or as it
trying to engage a new cartridge into the chamber
? This information will help determine the
condition of the ejector block and feeding process
8
Adding Explanation Text
  • LastRound
  • Magazine

Was the fired round the expected last one ? This
is needed to determine the condition of the slide
stop back catch
Can you observe and see if the magazine is in the
gun ? This information will be used to determine
the firing capabilities of the gun
9
Adding Explanation Text
  • Rounds
  • Safety

Can you observe how many cartridges are in the
magazine ? This information will be used in
determining operational state of the gun ?
Can you observe the current position of the guns
safety catch ? This will be used to ensure that
the safety catch is working properly
10
Adding Explanation Text
  • Slide

Did the slide stop back after the last round was
fired ? This information will be used in
determining the state of the slide stop back catch
11
Adding Explanation Text
  • Re-Run the application in Backward chaining mode
  • When the system asks you a question click on the
    icon in the top left of the application and
    select Explain

12
Text Substitution Language (TSL)
  • TSL provides a way to perform formatting and text
    handling functions for the text in reports
  • TSL also includes a variety of ways to include
    parameter, slot values and instance names into
    your text
  • You have already used TSL when you wrote the
    Displays for the end of a consultation

13
Value Substitution
  • You can substitute a slot or parameter value in
    TSL by placing a percent sign () immediately
    before the slot or parameter name
  • The sign tells AionDS to insert the value into
    that position when it generates the message

14
Common TSL commands
  • Frequently Used TSL Commands
  • Command What it means
  • / Indicates the beginning of a block of
    comments
  • / Indicates the end of a block of comments
  • br Sends a line break
  • c Centres text on a line
  • emp Specifies a string value to be printed for
    a set of list slots that are unknown
  • fi Turns on fill mode
  • fi- Turns off fill mode
  • j Turns on justify mode
  • j- Turns off justify mode
  • lmnn Sets the left margin to an absolute
    position nn
  • rmnn Sets the right margin to an absolute
    position nn

15
Common TSL commands
  • Frequently Used TSL Commands
  • Command What it means
  • sknn Skips nn lines
  • stab(nn) Sets an absolute tab at column nn
  • tab Positions output to start at the next tab
    stop
  • tbl Automatically handles many aspects of table
    creation including number and widths of
    columns, providing titles for each column, and
    determining the appropriate type of
    justification. You can override the default
    table specifications
  • undstring Specifies a string value to be
    printed for a string slot that is unknown
Write a Comment
User Comments (0)
About PowerShow.com