00001 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ 00002 /* 00003 * frpuniverse 00004 * Copyright (C) Peter L. Berghold 2008 <Peter@Berghold.net> 00005 * 00006 * frpuniverse is free software. 00007 * 00008 * You may redistribute it and/or modify it under the terms of the 00009 * GNU General Public License, as published by the Free Software 00010 * Foundation; either version 2 of the License, or (at your option) 00011 * any later version. 00012 * 00013 * frpuniverse is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 * See the GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with frpuniverse. If not, write to: 00020 * The Free Software Foundation, Inc., 00021 * 51 Franklin Street, Fifth Floor 00022 * Boston, MA 02110-1301, USA. 00023 * 00024 * $Id: orbit-place.cpp,v 1.3 2008/02/11 19:33:09 plankowner Exp $ 00025 * 00026 * $Log: orbit-place.cpp,v $ 00027 * Revision 1.3 2008/02/11 19:33:09 plankowner 00028 * Checkpoint --- 00029 * 00030 * Revision 1.2 2008/01/29 19:56:59 plankowner 00031 * Succeeded in cooercing automake to generate makefiles that only install the libraries. Stay tuned because it may get interesting later on as I progress with this project. 00032 * 00033 * 00034 */ 00035 00036 #include "orbit-place.hpp" 00037 00038 orbitPlace::orbitPlace() : sparseVectorNode(){ 00039 00040 } 00041 00042 00043 int orbitPlace::getOrbit(){ 00044 return this->getIndex(); 00045 } 00046 00047 void orbitPlace::setOrbit(int ix){ 00048 this->setIndex(ix); 00049 } 00050 00051 00052 char* orbitPlace::nodeSignature(){ 00053 return "orbitPlace"; 00054 } 00055 00056