diff options
author | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-16 19:09:28 (GMT) |
---|---|---|
committer | Eduardo M. Fleury <eduardo.fleury@openbossa.org> | 2009-10-26 22:17:52 (GMT) |
commit | dc89e929d0f60e996c132e9484357e0b42f99436 (patch) | |
tree | 5f10bd68337b995094dee50ea629631f3bc13238 /doc/src/snippets/code/src_network_socket_qabstractsocket.cpp | |
parent | a79539b1364fa8c155c5fbd00a977ae40b24acbe (diff) | |
download | Qt-dc89e929d0f60e996c132e9484357e0b42f99436.zip Qt-dc89e929d0f60e996c132e9484357e0b42f99436.tar.gz Qt-dc89e929d0f60e996c132e9484357e0b42f99436.tar.bz2 |
QGAL: Use constraints of type "equal" for fixed items
We usually create two restrictions for each item, one to tell its
size should be more than its minimum size and other enforcing it to
be at most its maximum size.
Now, for items that have fixed size, ie. minSize == maxSize, we create
a single constraint telling its size should be equal its min/maxSize.
The immediate advantage is to have one less constraint for each of
these items. The indirect advantage is that the simplex solver can
take advantage of such information.
Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Diffstat (limited to 'doc/src/snippets/code/src_network_socket_qabstractsocket.cpp')
0 files changed, 0 insertions, 0 deletions