public class RelationPermutationFunction<T extends Vector> extends Object implements DependencyPermutationFunction<T>, Serializable
DependencyPermutationFunction for permuting a Vector based on a dependecny path, represented as a list of DependencyRelations. A passed in PermutationFunction is used to
permute the Vectors based on the path length.PermutationFunction,
Serialized Form| Constructor and Description |
|---|
RelationPermutationFunction(PermutationFunction<T> permFunc)
Creates a new
DefaultDependencyPermutationFunction that wraps an
existing PermutationFunction. |
| Modifier and Type | Method and Description |
|---|---|
T |
permute(T vector,
DependencyPath path)
Returns a permuted form of {code vector} based on the dependency path
provided.
|
public RelationPermutationFunction(PermutationFunction<T> permFunc)
DefaultDependencyPermutationFunction that wraps an
existing PermutationFunction.public T permute(T vector, DependencyPath path)
Copyright © 2012. All Rights Reserved.