3.32 maxcost : Return itemset with maximum cost

Format

$obj$.maxcost $\rightarrow $ $cost$

  $cost$ : float

Description

Among all itemsets in $obj$, return the one with maximum cost. The cost value of the itemset is obtained by maxcover.

Specify the cost with symbol function.

Example

Example 1: Basic Example

Refer to example in maxcover method.

See Also

symbol : Declare items

cost : Total cost of itemset

maxcover : Select itemset with maximum cost

mincover : Select itemset with minimum cost

mincost : Cost of itemset with minimum cost