2009-03-15から1日間の記事一覧
forallはworkingMemory上に存在するすべてのものが条件にマッチする場合、という願いをこめるときに使います。たとえば rule "vote" when forall( Vote( result == 'OK' ) ) $s : State(); then System.out.println("満場一致"); $s.moveTo('end'); end ファ…
forallはworkingMemory上に存在するすべてのものが条件にマッチする場合、という願いをこめるときに使います。たとえば rule "vote" when forall( Vote( result == 'OK' ) ) $s : State(); then System.out.println("満場一致"); $s.moveTo('end'); end ファ…