knowledge-database (beta)

Current group: comp.constraints

Channelling Constraint Question

Channelling Constraint Question  
ed_would_sparkes at hotmail.com
 Re: Channelling Constraint Question  
Andrew John Sadler
From:ed_would_sparkes at hotmail.com
Subject:Channelling Constraint Question
Date:13 Jan 2005 12:46:17 -0800
Hi ,

I am having a problem with the syntax for a chennelinng constraint in
eclipse

want to say

if VarArray[I, J] =1 then OtherArray[I, D] = 1

I have tried

VarArray[I, J] #=1 #=> OtherArray[I,D] #= 1
but this doesnt seem to work, am i missing something

cheers, ed
From:Andrew John Sadler
Subject:Re: Channelling Constraint Question
Date:13 Jan 2005 21:58:48 +0000
ed_would_sparkes@hotmail.com writes:

> Hi ,
>
> I am having a problem with the syntax for a chennelinng constraint in
> eclipse
>
> want to say
>
> if VarArray[I, J] =1 then OtherArray[I, D] = 1
>
> I have tried
>
> VarArray[I, J] #=1 #=> OtherArray[I,D] #= 1
> but this doesnt seem to work, am i missing something
>
> cheers, ed


The syntax for implication is...

VarArray[I, J] #=1 => OtherArray[I,D] #= 1

ie no '#' infront of the =>
   

Copyright © 2006 knowledge-database   -   All rights reserved