blob: f277613c6629783d3573f6d76828c2460848c322 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--[[
A Directed Edge class
No methods, just two fields, from and to.
]]--
local Edge = torch.class('graph.Edge')
function Edge:__init(from,to)
self.from = from
self.to = to
end
|