Writing use cases for AI systems question.

This is a discussion on Writing use cases for AI systems question. within the General AI Programming forums, part of the Cprogramming.com and AIHorizon.com's Artificial Intelligence Boards category; Hi, I'm creating my first AI system for a project and am beginning by drawing some use cases. I was ...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    14

    Writing use cases for AI systems question.

    Hi,

    I'm creating my first AI system for a project and am beginning by drawing some use cases.

    I was wondering, is it acceptable to have the AI system as the actor in the use case?

    The AI will be pro-active sometimes, it has it's own use cases to perform. when it detects something in the real world via a hardware device, it performs it's use case which assists the human also via hardware.

    Do you think that is OK, or should an AI never be an actor?


    AI and UML are new areas to me, and so am learning about how they are normally used together.

    Many thanks for your thoughts.


  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,439
    Quote Originally Posted by Orange Lozenge View Post
    I was wondering, is it acceptable to have the AI system as the actor in the use case?

    The AI will be pro-active sometimes, it has it's own use cases to perform. when it detects something in the real world via a hardware device, it performs it's use case which assists the human also via hardware.
    Hmm.. nope. You can't.

    An actor is an external agent. More precisely the role that agent performs over your system. And it is not a subsystem (your AI) of the system you wish to describe through Use Cases. So, for the example above -- not knowing exactly what conditions are detected by the hardware device -- the actor will be whatever aggregate term you can use to describe the external input. If this was a device that measured weather conditions and you wished to describe a Use Case for your whole system, you would start by choosing what level of detail you wish to describe. The actor could be "Outside Temperature" if you wished to describe only the behavior of your system to that input, "Weather" if you wished to describe your system behavior in more general terms perhaps, or a series of actors like "Outside Temperature", "Humidity" and "Atmospheric Pressure" if you which to describe your system behavior in more detail and in the presence of multiple inputs.

    Your AI system can only be an Actor in a Use Case, when you want to describe another system in which your AI is an external agent/role that drives it.

    EDIT: Sorry for not having seen this question earlier. Somehow missed it.
    Last edited by Mario F.; 12-01-2010 at 06:46 AM.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  2. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM
  3. Experienced coders read. ( Common/efficient writing )
    By knave in forum C++ Programming
    Replies: 8
    Last Post: 04-23-2003, 09:07 PM
  4. Question about Software Testing
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 04-08-2002, 09:47 AM
  5. what does this warningmean???
    By kreyes in forum C Programming
    Replies: 5
    Last Post: 03-04-2002, 06:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21