Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProteinList ¶
type ProteinList []Protein
func (*ProteinList) Append ¶
func (p *ProteinList) Append(protein Protein)
func (ProteinList) ContainsProtein ¶
func (p ProteinList) ContainsProtein(protein Protein) bool
func (*ProteinList) RemoveDuplicates ¶
func (p *ProteinList) RemoveDuplicates()
type ProteinNetwork ¶
type ProteinNetwork map[Protein]ProteinList
func (ProteinNetwork) HasCycle ¶
func (p ProteinNetwork) HasCycle() bool
func (*ProteinNetwork) Insert ¶
func (p *ProteinNetwork) Insert(a, b Protein)
func (ProteinNetwork) ShortestPaths ¶
func (graph ProteinNetwork) ShortestPaths(source Protein) []ProteinList
type ProteinNode ¶
type ProteinNode struct {
Protein Protein
Children []*ProteinNode
}
func CreateProteinTree ¶
func CreateProteinTree(sourceProtein Protein, network ProteinNetwork) *ProteinNode
Click to show internal directories.
Click to hide internal directories.