graph_messages.h

Vá para a documentação deste arquivo.
00001 /*
00002 * Copyright 2007, 2008 Ernesto Coutinho Colla
00003 *
00004 * "BN Parallel Package" é um nome que identifica o conjunto de programas 
00005 * que forma uma biblioteca de rotinas que foram desenvolvidas como parte da 
00006 * dissertação de mestrado do autor em Ciências da Computação.
00007 *
00008 * O conjunto de programas foi integralmente desenvolvido pelo autor e está
00009 * disponível sob a licença GPL (GNU General Public License). O entendimento
00010 * integral dos termos da licença GPL é condição necessária para a utilização
00011 * parcial ou integral de qualquer parte deste conjunto de programas.
00012 *
00013 * This file is part of BN Parallel Package.
00014 * 
00015 * BN Parallel Package is free software: you can redistribute it and/or modify
00016 * it under the terms of the GNU General Public License as published by
00017 * the Free Software Foundation, either version 3 of the License.
00018 *
00019 * BN Parallel Package is distributed in the hope that it will be useful,
00020 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022 * GNU General Public License for more details.
00023 *
00024 * You should have received a copy of the GNU General Public License
00025 * along with BN Parallel Package. If not, see <http://www.gnu.org/licenses/>.
00026 */
00027 
00028 
00029 /*!
00030  * @file        graph_messages.h
00031  * @author      Ernesto Colla (ernesto@gmail.com)
00032  * @version     0.0.1
00033  * @date        Fevereiro/2007
00034  * @brief       Mensagens relacionadas à biblioteca de grafos (graph.h)
00035  */
00036 
00037 /* DEFINES */
00038 
00039 #define ERR_LINK_IN_DIRECTED_GRAPH 0    //!< Erro ao adicionar um link em um grafo direcionado
00040 #define ERR_ARC_IN_NOT_DIRECTED_GRAPH 1 //!< Erro ao adicionar um arco direcionado em um grafo não direcionado
00041 #define ERR_GRAPH_TYPE_UNKNOW 2                 //!< Tipo desconhecido de grafo
00042 #define ERR_UNKNOW_SORT_FIELD 3                 //!< Campo para ordenação desconhecido
00043 #define ERR_UNKNOW_SORT_DIRECTION 4             //!< Direção para ordenação desconhecido
00044 
00045 
00046 /*! @brief vetor de mensagens de erro */
00047 char* GRAPH_ERRORS[] = {
00048                                         "ERROR: Links (not directed) can't be add in directed graphs",
00049                                         "ERROR: Arcs (directed) can't be add in NOT directed graphs",
00050                                         "ERROR: Graph type: '%s' unknow. Use'arcs' for DIRECTED graphs and 'links' for NOT_DIRECTED graphs",
00051                                         "ERROR: Unknow sort field. Use: LINK_DEGREE, IN_DEGREE, OUT_DEGREE",
00052                                         "ERROR: Unknow sort direction. Use: ASCENDANT, DESCENDANT"
00053                                 };

Gerado em Fri Feb 15 19:50:41 2008 para IME-Dissertação por  doxygen 1.5.1