Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\objagg.c Create Date:2022-07-28 07:23:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:objagg_tmp_graph_node_max_weight

Proto:static int objagg_tmp_graph_node_max_weight(struct objagg_tmp_graph *graph)

Type:int

Parameter:

TypeParameterName
struct objagg_tmp_graph *graph
759  max_weight = 0
761  max_index = -1
764  When i < nodes_count cycle
765  node = nodes[i]
766  If crossed_out Then Continue
768  weight = objagg_tmp_graph_node_weight(graph, i)
769  If weight >= max_weight Then
770  max_weight = weight
771  max_index = i
774  Return max_index
Caller
NameDescribe
objagg_opt_simple_greedy_fillup_hints