Template Function sequant::replace_proto_indices_of_images

Function Documentation

template<typename Map>
Map sequant::replace_proto_indices_of_images(const Map &index_map)

hashing function

Parameters:
  • idx – [in] a const reference to an Index object

  • index_map – maps Index to Index

Returns:

the hash value of the object referred to by idx

Returns:

copy of index_map in which the protoindices of each image are replaced by their images in index_map ; transforming an Index with the result also renames the protoindices of its image, e.g. for images made by IndexFactory, which keep the original protoindices