Learn R Programming

mazeGen (version 0.1.3)

maxScore: Maximum Score

Description

This returns the maximum score for a given rank and a given colour node position.

Usage

maxScore(nodePosition)

Arguments

nodePosition

The position of the black dots.

Details

The maxScore function returns the maximum score for a given rank and a given colour node positions. You need to use the colour node position function first.

Examples

Run this code
# NOT RUN {
nodePosition <- np(rank=3,satPercent=0.5,seed=1)

maxScore(nodePosition=nodePosition)

# }

Run the code above in your browser using DataLab