46 #ifndef MUELU_AVATARINTERFACE_HPP
47 #define MUELU_AVATARINTERFACE_HPP
50 #include "Teuchos_Comm.hpp"
52 #include "Teuchos_ArrayRCP.hpp"
57 #ifdef HAVE_MUELU_AVATAR
62 typedef struct Avatar_struct Avatar_handle;
72 class AvatarInterface :
public BaseClass {
98 int hybrid(
float * probabilities, std::vector<int> acceptableCombos)
const;
100 int highProb(
float * probabilities, std::vector<int> acceptableCombos)
const;
102 int lowCrash(
float * probabilities, std::vector<int> acceptableCombos)
const;
104 int weighted(
float * probabilities, std::vector<int> acceptableCombos)
const;
109 void GenerateFeatureString(
const Teuchos::ParameterList & problemFeatures, std::string & featureString)
const;
110 std::string ParamsToString(
const std::vector<int> & indices)
const;
111 void SetIndices(
int id,std::vector<int> & indices)
const;
113 void UnpackMueLuMapping();
122 int avatarGoodClass_;
126 Avatar_handle * avatarHandle_;
139 #endif// HAVE_MUELU_AVATAR
141 #endif // MUELU_AVATARINTERFACE_HPP