~ubuntu-branches/debian/stretch/gecode/stretch

« back to all changes in this revision

Viewing changes to examples/word-square.cpp

  • Committer: Package Import Robot
  • Author(s): Kari Pahula
  • Date: 2013-05-25 15:57:32 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20130525155732-bltd8lu9my9borhk
Tags: 4.0.0-2
Give make check LD_LIBRARY_PATH=. to make test work without gecode
already installed, to fix FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *     Christian Schulte, 2009
12
12
 *
13
13
 *  Last modified:
14
 
 *     $Date: 2010-10-07 20:52:01 +1100 (Thu, 07 Oct 2010) $ by $Author: schulte $
15
 
 *     $Revision: 11473 $
 
14
 *     $Date: 2013-02-19 13:26:08 +0100 (Tue, 19 Feb 2013) $ by $Author: schulte $
 
15
 *     $Revision: 13313 $
16
16
 *
17
17
 *  This file is part of Gecode, the generic constraint
18
18
 *  development environment:
107
107
    switch (opt.branching()) {
108
108
    case BRANCH_WORDS:
109
109
      // Branch by assigning words
110
 
      branch(*this, words, INT_VAR_SIZE_MIN, INT_VAL_SPLIT_MIN);
 
110
      branch(*this, words, INT_VAR_SIZE_MIN(), INT_VAL_SPLIT_MIN());
111
111
      break;
112
112
    case BRANCH_LETTERS:
113
113
      // Branch by assigning letters
114
 
      branch(*this, letters, INT_VAR_SIZE_AFC_MIN, INT_VAL_MIN);
 
114
      branch(*this, letters, INT_VAR_AFC_SIZE_MAX(opt.decay()), INT_VAL_MIN());
115
115
      break;
116
116
    }
117
117
  }