This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package aulavisaocomp; | |
import ij.ImagePlus; | |
import ij.io.Opener; | |
import ij.process.ByteProcessor; | |
import ij.process.ColorProcessor; | |
import ij.process.ImageProcessor; | |
import java.awt.Color; | |
import java.awt.image.BufferedImage; | |
import java.io.File; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Agent = Struct.new(:x, :y) | |
$agent = Agent.new(rand(0..9), rand(0..9)) | |
$scenario = Array.new(10) { Array.new(10, '-') } | |
10.times { $scenario[rand(0..9)][rand(0..9)] = '*' } | |
$scenario[$agent.x][$agent.y] = 'X' | |
$last_direction = 1 | |
$count = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VASSEUR, J.P.; AGARWAL, N.; HUI, J. RPL: The IP routing protocol designed for low power and lossy networks. Abril de 2011. | |
PARADISI, A.; TIBERGHIEN, J. Rpl dodag. Disponível em: http://pt.slideshare.net/asobimat/rpl-dodag | |
LOUREIRO, A.A.F.; NOGUEIRA, J.M.S; RUIZ, L.B. Redes de Sensores sem Fio. Belo Horizonte, Minas Gerais. | |
STRAUS, M. M. IWoT Internet of Thing and Web of Things: challenges and opportunities. 25 de Maio de 2013. | |
SIMO, G.L.D. Rpl:Routing Protocol for Low-Power and Lossy Networks. Disponível em: http://pt.slideshare.net/landrysimo16/rplrouting-protocol-for-lowpower-and-lossy-networks | |
CHIRGWIN, R. WTF is Routing Protocol for Low-Power and Lossy Networks?. Disponível em: http://www.theregister.co.uk/2013/08/30/wtf_is_rpl/ | |
RFC 6550 - RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks. Disponível em: https://tools.ietf.org/html/rfc6550 |
NewerOlder