ELASTICPATHING/SOURCECODE/UbiComp2014/Elastic_Pathing_Code/lib-NodeWay.rb
#A class for modified ways that differ from the map or new ways that may need to be created
A class for modified ways that differ from the map or new ways that may need to be created
A class for modified ways that differ from the map or new ways that may need to be created
def add_mod_wid(nodelist,wid)
		@way_buff.push([wid,nodelist])
		@log.debug("add_new_wid: added modified way #{wid}, there are now #{@way_buff.length} ways in the buffer")
		return wid
	end
def add_mod_wid ( nodelist , wid ) @way_buff . push ( [ wid , nodelist ] ) @log . debug ( "add_new_wid: added modified way #{wid}, there are now #{@way_buff.length} ways in the buffer" ) return wid end
A class for modified ways that differ from the map or new ways that may need to be created
A class for modified ways that differ from the map or new ways that may need to be created
#nodelist is an array of interger node ids. wid is a known way id that is being modified. Adds a way to the list of known ways. Does NOT modify the Database.
nodelist
wid