5.157. full_group

DESCRIPTIONLINKSAUTOMATON
Origin

Inspired by πšπš›πš˜πšžπš™

Constraint

πšπšžπš•πš•_πšπš›πš˜πšžπš™π™½π™Άπšπ™Ύπš„π™Ώ,𝙼𝙸𝙽_πš‚π™Έπš‰π™΄,π™Όπ™°πš‡_πš‚π™Έπš‰π™΄,𝙼𝙸𝙽_π™³π™Έπš‚πšƒ,π™Όπ™°πš‡_π™³π™Έπš‚πšƒ,π™½πš…π™°π™»,πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚,πš…π™°π™»πš„π™΄πš‚

Synonym

πšπš›πš˜πšžπš™_πš πš’πšπš‘πš˜πšžπš_πš‹πš˜πš›πšπšŽπš›.

Arguments
π™½π™Άπšπ™Ύπš„π™ΏπšπšŸπšŠπš›
𝙼𝙸𝙽_πš‚π™Έπš‰π™΄πšπšŸπšŠπš›
π™Όπ™°πš‡_πš‚π™Έπš‰π™΄πšπšŸπšŠπš›
𝙼𝙸𝙽_π™³π™Έπš‚πšƒπšπšŸπšŠπš›
π™Όπ™°πš‡_π™³π™Έπš‚πšƒπšπšŸπšŠπš›
π™½πš…π™°π™»πšπšŸπšŠπš›
πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚πšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(πšŸπšŠπš›-πšπšŸπšŠπš›)
πš…π™°π™»πš„π™΄πš‚πšŒπš˜πš•πš•πšŽπšŒπšπš’πš˜πš—(πšŸπšŠπš•-πš’πš—πš)
Restrictions
π™½π™Άπšπ™Ύπš„π™Ώβ‰₯0
𝙼𝙸𝙽_πš‚π™Έπš‰π™΄β‰₯0
π™Όπ™°πš‡_πš‚π™Έπš‰π™΄β‰₯𝙼𝙸𝙽_πš‚π™Έπš‰π™΄
𝙼𝙸𝙽_π™³π™Έπš‚πšƒβ‰₯0
π™Όπ™°πš‡_π™³π™Έπš‚πšƒβ‰₯𝙼𝙸𝙽_π™³π™Έπš‚πšƒ
π™Όπ™°πš‡_π™³π™Έπš‚πšƒβ‰€|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚|-2
π™½πš…π™°π™»β‰₯π™Όπ™°πš‡_πš‚π™Έπš‰π™΄
π™½πš…π™°π™»β‰₯π™½π™Άπšπ™Ύπš„π™Ώ
π™½πš…π™°π™»β‰€|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚|-2
πš›πšŽπššπšžπš’πš›πšŽπš(πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚,πšŸπšŠπš›)
πš›πšŽπššπšžπš’πš›πšŽπš(πš…π™°π™»πš„π™΄πš‚,πšŸπšŠπš•)
πšπš’πšœπšπš’πš—πšŒπš(πš…π™°π™»πš„π™΄πš‚,πšŸπšŠπš•)
Purpose

Let n be the number of variables of the collection πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚. Let X i ,X i+1 ,β‹―,X j (1≀i≀j≀n) be consecutive variables of the collection of variables πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ such that all the following conditions simultaneously apply:

  • All variables X i ,β‹―,X j take their value in the set of values πš…π™°π™»πš„π™΄πš‚,

  • i=1 or X i-1 does not take a value in πš…π™°π™»πš„π™΄πš‚,

  • j=n or X j+1 does not take a value in πš…π™°π™»πš„π™΄πš‚.

We call such a sequence of variables a group. A full group is a group that neither starts at position 1 nor ends at position n. Similarly an anti-full group is a maximum sequence of variables that are not assigned any value from πš…π™°π™»πš„π™΄πš‚ that neither starts at position 1 nor ends at position n.

The constraint πšπšžπš•πš•_πšπš›πš˜πšžπš™ is true if all the following conditions hold:

  • There are exactly π™½π™Άπšπ™Ύπš„π™Ώ full groups of variables,

  • 𝙼𝙸𝙽_πš‚π™Έπš‰π™΄ is the number of variables of the smallest full group,

  • π™Όπ™°πš‡_πš‚π™Έπš‰π™΄ is the number of variables of the largest full group,

  • 𝙼𝙸𝙽_π™³π™Έπš‚πšƒ is the number of variables of the smallest anti-full group,

  • π™Όπ™°πš‡_π™³π™Έπš‚πšƒ is the number of variables of the largest anti-full group,

  • π™½πš…π™°π™» is the number of variables that belong to a full group.

Example
(2,2,3,1,1,5,0,1,2,6,2,7,4,8,9,0,2,4,6,8)

Given the fact that full groups are formed by even values in {0,2,4,6,8} (i.e.,Β values expressed by the πš…π™°π™»πš„π™΄πš‚ collection), the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint holds since:

  • Its first argument, π™½π™Άπšπ™Ύπš„π™Ώ, is set to value 2 since the sequence 0 1 2 6 2 7 4 8 9 contains two full groups of even values (i.e., groupΒ 2 6 2 and groupΒ 4 8). Note that the first 0 is not a full group since it is located at the first position of the sequence.

  • Its second argument, 𝙼𝙸𝙽_πš‚π™Έπš‰π™΄, is set to value 2 since the smallest full group of even values involves only two elements (i.e.,Β the full group 4 8).

  • Its third argument, π™Όπ™°πš‡_πš‚π™Έπš‰π™΄, is set to value 3 since the largest full group of even values involves three elements (i.e.,Β the full group 2 6 2).

  • Its fourth argument, 𝙼𝙸𝙽_π™³π™Έπš‚πšƒ, is set to value 1 since the smallest anti-full groups involve a single element (i.e.,Β the anti-full groups 1 and 7).

  • Its fifth argument, π™Όπ™°πš‡_π™³π™Έπš‚πšƒ, is set to value 1 since the largest anti-full groups involve a single element (i.e.,Β the anti-full groups 1 and 7).

  • Its sixth argument, π™½πš…π™°π™», is set to value 5 since the total number of even values part of a full group of the sequence 0 1 2 6 2 7 4 8 9 is equal to 5 (i.e.,Β elements 2, 6, 2, 4 and 8).

Typical
π™½π™Άπšπ™Ύπš„π™Ώ>0
𝙼𝙸𝙽_πš‚π™Έπš‰π™΄>0
π™Όπ™°πš‡_πš‚π™Έπš‰π™΄>𝙼𝙸𝙽_πš‚π™Έπš‰π™΄
𝙼𝙸𝙽_π™³π™Έπš‚πšƒ>0
π™Όπ™°πš‡_π™³π™Έπš‚πšƒ>𝙼𝙸𝙽_π™³π™Έπš‚πšƒ
π™Όπ™°πš‡_π™³π™Έπš‚πšƒ<|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚|
π™½πš…π™°π™»>π™Όπ™°πš‡_πš‚π™Έπš‰π™΄
π™½πš…π™°π™»>π™½π™Άπšπ™Ύπš„π™Ώ
π™½πš…π™°π™»<|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚|
|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚|>1
πš›πšŠπš—πšπšŽ(πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚.πšŸπšŠπš›)>1
|πš…π™°π™»πš„π™΄πš‚|>0
|πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚|>|πš…π™°π™»πš„π™΄πš‚|
Symmetries
  • Items of πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ can be reversed.

  • Items of πš…π™°π™»πš„π™΄πš‚ are permutable.

  • An occurrence of a value of πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚.πšŸπšŠπš› that belongs to πš…π™°π™»πš„π™΄πš‚.πšŸπšŠπš• (resp. does not belong to πš…π™°π™»πš„π™΄πš‚.πšŸπšŠπš•) can be replaced by any other value in πš…π™°π™»πš„π™΄πš‚.πšŸπšŠπš• (resp. not in πš…π™°π™»πš„π™΄πš‚.πšŸπšŠπš•).

Arg. properties
  • Functional dependency: π™½π™Άπšπ™Ύπš„π™Ώ determined by πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ and πš…π™°π™»πš„π™΄πš‚.

  • Functional dependency: 𝙼𝙸𝙽_πš‚π™Έπš‰π™΄ determined by πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ and πš…π™°π™»πš„π™΄πš‚.

  • Functional dependency: π™Όπ™°πš‡_πš‚π™Έπš‰π™΄ determined by πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ and πš…π™°π™»πš„π™΄πš‚.

  • Functional dependency: 𝙼𝙸𝙽_π™³π™Έπš‚πšƒ determined by πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ and πš…π™°π™»πš„π™΄πš‚.

  • Functional dependency: π™Όπ™°πš‡_π™³π™Έπš‚πšƒ determined by πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ and πš…π™°π™»πš„π™΄πš‚.

  • Functional dependency: π™½πš…π™°π™» determined by πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚ and πš…π™°π™»πš„π™΄πš‚.

See also

common keyword: πšπš›πš˜πšžπš™Β (timetabling constraint,sequence).

Keywords

characteristic of a constraint: automaton, automaton with counters, automaton with same input symbol.

combinatorial object: sequence.

constraint arguments: reverse of a constraint, pure functional dependency.

constraint network structure: alpha-acyclic constraint network(2), alpha-acyclic constraint network(3).

constraint type: timetabling constraint.

filtering: glue matrix.

modelling: functional dependency.

Automaton

FiguresΒ 5.157.1,Β 5.157.3,Β 5.157.5,Β 5.157.7,Β 5.157.9 andΒ 5.157.11 depict the different automata associated with the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint. For the automata that respectively compute π™½π™Άπšπ™Ύπš„π™Ώ, 𝙼𝙸𝙽_πš‚π™Έπš‰π™΄, π™Όπ™°πš‡_πš‚π™Έπš‰π™΄, 𝙼𝙸𝙽_π™³π™Έπš‚πšƒ, π™Όπ™°πš‡_π™³π™Έπš‚πšƒ and π™½πš…π™°π™» we have a 0-1 signature variable πš‚ i for each variable πš…π™°πš i of the collection πš…π™°πšπ™Έπ™°π™±π™»π™΄πš‚. The following signature constraint links πš…π™°πš i and πš‚ i : πš…π™°πš i βˆˆπš…π™°π™»πš„π™΄πš‚β‡”πš‚ i .

Figure 5.157.1. Automaton for the π™½π™Άπšπ™Ύπš„π™Ώ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint and its glue matrix
ctrs/full_group-1-tikz
Figure 5.157.2. Hypergraph of the reformulation corresponding to the automaton (with one counter) of the π™½π™Άπšπ™Ύπš„π™Ώ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint (since all states of the automaton are accepting there is no restriction on the last variable Q n )
ctrs/full_group-2-tikz
Figure 5.157.3. Automaton for the 𝙼𝙸𝙽_πš‚π™Έπš‰π™΄ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint
ctrs/full_group-3-tikz
Figure 5.157.4. Hypergraph of the reformulation corresponding to the automaton (with two counters) of the 𝙼𝙸𝙽_πš‚π™Έπš‰π™΄ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint (since all states of the automaton are accepting there is no restriction on the last variable Q n )
ctrs/full_group-4-tikz
Figure 5.157.5. Automaton for the π™Όπ™°πš‡_πš‚π™Έπš‰π™΄ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint and its glue matrix
ctrs/full_group-5-tikz
Figure 5.157.6. Hypergraph of the reformulation corresponding to the automaton (with two counters) of the π™Όπ™°πš‡_πš‚π™Έπš‰π™΄ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint (since all states of the automaton are accepting there is no restriction on the last variable Q n )
ctrs/full_group-6-tikz
Figure 5.157.7. Automaton for the 𝙼𝙸𝙽_π™³π™Έπš‚πšƒ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint
ctrs/full_group-7-tikz
Figure 5.157.8. Hypergraph of the reformulation corresponding to the automaton (with two counters) of the 𝙼𝙸𝙽_π™³π™Έπš‚πšƒ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint (since all states of the automaton are accepting there is no restriction on the last variable Q n )
ctrs/full_group-8-tikz
Figure 5.157.9. Automaton for the π™Όπ™°πš‡_π™³π™Έπš‚πšƒ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint and its glue matrix
ctrs/full_group-9-tikz
Figure 5.157.10. Hypergraph of the reformulation corresponding to the automaton (with two counters) of the π™Όπ™°πš‡_π™³π™Έπš‚πšƒ argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint (since all states of the automaton are accepting there is no restriction on the last variable Q n )
ctrs/full_group-10-tikz
Figure 5.157.11. Automaton for the π™½πš…π™°π™» argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint and its glue matrix
ctrs/full_group-11-tikz
Figure 5.157.12. Hypergraph of the reformulation corresponding to the automaton (with two counters) of the π™½πš…π™°π™» argument of the πšπšžπš•πš•_πšπš›πš˜πšžπš™ constraint (since all states of the automaton are accepting there is no restriction on the last variable Q n )
ctrs/full_group-12-tikz