FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NEToolKit/NEToolKit/src/network/link.cpp at master · CBenoit/NEToolKit · GitHub
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
CBenoit
/
NEToolKit
Public archive
Notifications
You must be signed in to change notification settings
Fork
2
Star
4
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
NEToolKit
/
NEToolKit
/
src
/
network
/
link.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (9 loc) · 346 Bytes
Breadcrumbs
NEToolKit
/
NEToolKit
/
src
/
network
/
link.cpp
Copy path
File metadata and controls
11 lines (9 loc) · 346 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
#
include
"
netkit/network/link.h
"
netkit::link::link
(
neuron_id_t
from_id_,
neuron_id_t
to_id_,
neuron_value_t
weight_)
: from(from_id_)
, to(to_id_)
, weight(weight_) {}
std::ostream& netkit::
operator
<<(std::ostream& os,
const
link& l) {
os <<
"
<link: from =
"
<< l.
from
<<
"
to =
"
<< l.
to
<<
"
weight =
"
<< l.
weight
<<
"
>
"
;
return
os;
}
Back
|
FazBrowse Home
|
New Git URL