001    /**
002     *  "TRMSim-WSN, Trust and Reputation Models Simulator for Wireless
003     * Sensor Netowrks" is free software: you can redistribute it and/or
004     * modify it under the terms of the GNU Lesser General Public License
005     * as published by the Free Software Foundation, either version 3 of
006     * the License, or (at your option) any later version always keeping
007     * the addicional terms specified in this license.
008     *
009     * This program is distributed in the hope that it will be useful,
010     * but WITHOUT ANY WARRANTY; without even the implied warranty of
011     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
012     * GNU Lesser General Public License for more details.
013     *
014     *
015     * Additional Terms of this License
016     * --------------------------------
017     *
018     * 1. It is Required the preservation of specified reasonable legal notices
019     *   and author attributions in that material and in the Appropriate Legal
020     *   Notices displayed by works containing it.
021     *
022     * 2. It is limited the use for publicity purposes of names of licensors or
023     *   authors of the material.
024     *
025     * 3. It is Required indemnification of licensors and authors of that material
026     *   by anyone who conveys the material (or modified versions of it) with
027     *   contractual assumptions of liability to the recipient, for any liability
028     *   that these contractual assumptions directly impose on those licensors
029     *   and authors.
030     *
031     * 4. It is Prohibed misrepresentation of the origin of that material, and it is
032     *   required that modified versions of such material be marked in reasonable
033     *   ways as different from the original version.
034     *
035     * 5. It is Declined to grant rights under trademark law for use of some trade
036     *   names, trademarks, or service marks.
037     *
038     * You should have received a copy of the GNU Lesser General Public License
039     * along with this program (lgpl.txt).  If not, see <http://www.gnu.org/licenses/>
040    */
041    
042    package es.ants.felixgm.trmsim_wsn.trm.templatetrm;
043    
044    import es.ants.felixgm.trmsim_wsn.network.Sensor;
045    
046    /**
047     * <p>This class models a Sensor implementing TemplateTRM</p>
048     * @author <a href="http://ants.dif.um.es/~felixgm/en" target="_blank">F&eacute;lix G&oacute;mez M&aacute;rmol</a>, <a href="http://webs.um.es/gregorio" target="_blank">Gregorio Mart&iacute;nez P&eacute;rez</a>
049     * @version 0.3
050     * @since 0.3
051     */
052    public class TemplateTRM_Sensor extends Sensor {
053    
054        /**
055         * This constructor creates a new Sensor implementing TemplateTRM
056         */
057        public TemplateTRM_Sensor () {
058            super();
059        }
060    
061        /**
062         * This constructor creates a new Sensor implementing TemplateTRM
063         * @param id Identifier of the new sensor
064         * @param x X coordinate of the new sensor
065         * @param y Y coordinate of the new sensor
066         */
067        public TemplateTRM_Sensor(int id, double x, double y) {
068            super(id,x,y);
069        }
070    
071        @Override
072        public void reset() {
073        }
074    }