Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Prolog query

  • 27-01-2004 2:04pm
    #1
    Closed Accounts Posts: 237 ✭✭


    have some major coding problems here was wondering if anyone could direct me to a good site


    i have a 6*6 matrix with each row and column adhereing to certain constraints......
    ie/ combination of colours with each individual row and column having its own unqiue rule to adhere to.

    now i dont mind admittin im having fierce trouble with this one.

    any suggestions.


Comments

  • Registered Users, Registered Users 2 Posts: 629 ✭✭✭str8_away


    That sounds like AI colour sorting problem.
    And it sounds you don't know much about prolog.
    (not tht many people does) ;)

    have a look of this document, page 3 and 4 should give you some idea what you should be doing.
    http://compiler.kaist.ac.kr/courses/cs520/TP/Class02.pdf

    Also check this site of examples, you migt find something usefull here :D
    http://www.probp.com/examples/#Pro


  • Closed Accounts Posts: 237 ✭✭JessieG


    i know very little about prolog i havent touched the stuff in four years and i remember zlich! yeah lovely colour sorting matrix..

    thanks for the ref's.......:)


  • Registered Users, Registered Users 2 Posts: 629 ✭✭✭str8_away


    Originally posted by JessieG
    i havent touched the stuff in four years and i remember zlich!

    No problem
    If you have no need for Porlog in pass 4 years why do you need it now?
    :confused:

    Anyhow hope the links helps.


  • Closed Accounts Posts: 237 ✭✭JessieG


    Because my Artifical intelligence lecturer says so :).....

    havent touched it since first year which was four years ago for me.

    so he comes along with this "problem" of a 6*6 matrix where we have to assign a specific colour combination to each row. Now normally this would be grand but there are only three colours and he has contraints for both rows and columns.
    ie: in col c both whites must be below both blues...

    and this is the same for every row and column.

    i wouldnt mind but i spotted a flaw in one of his rules. He gave us out a sample colour solution and it didnt match up to the given constraints. he has since corrected it.

    OH i have such faith in the third level computer education system.


  • Closed Accounts Posts: 2,972 ✭✭✭SheroN


    the lecturer is a legend.


  • Advertisement
  • Closed Accounts Posts: 237 ✭✭JessieG


    SheroN...

    HEEEEEELLLLLLLPPPPPPPP me did ye get anythign like this off him last year????


    grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr i will have my vengence!!!!!!!!


  • Closed Accounts Posts: 2,972 ✭✭✭SheroN


    nope sorry doesn't sound familar at all......never got the whole prolog thing. :)


Advertisement