features {tspmeta}R Documentation

Calculates list of all TSP features for an instance.

Description

Calculates list of all TSP features for an instance.

Usage

features(x, rescale = TRUE)

Arguments

x

[tsp_instance]
TSP instance

rescale

[logical(1)]
Rescale x to [0,1]^2 before calculation of features? Default is TRUE.

Value

[list].

See Also

feature_angle, feature_centroid, feature_cluster, feature_bounding_box, feature_chull, feature_distance, feature_modes, feature_mst, feature_nnds

Examples

x = random_instance(10)
print(features(x))

[Package tspmeta version 1.2 Index]