stage1(GSListPtr node_constraints, GSListPtr nodes, GSListPtr resources)
stage1(GListPtr node_constraints, GListPtr nodes, GListPtr resources)
stage1(GSListPtr node_constraints, GSListPtr nodes, GSListPtr resources){	int lpc = 0;		slist_iter(		node, node_t, nodes, lpc,		if(node == NULL) {			// error		} else if(node->weight >= 0.0			  && node->details->online			  && node->details->type == node_member) {			max_valid_nodes++;		}			);	apply_node_constraints(node_constraints, nodes, resources);	return TRUE;} 