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 {
80 ~AvatarInterface(){Cleanup();}
100 int hybrid(
float * probabilities, std::vector<int> acceptableCombos)
const;
102 int highProb(
float * probabilities, std::vector<int> acceptableCombos)
const;
104 int lowCrash(
float * probabilities, std::vector<int> acceptableCombos)
const;
106 int weighted(
float * probabilities, std::vector<int> acceptableCombos)
const;
111 void GenerateFeatureString(
const Teuchos::ParameterList & problemFeatures, std::string & featureString)
const;
112 std::string ParamsToString(
const std::vector<int> & indices)
const;
113 void SetIndices(
int id,std::vector<int> & indices)
const;
115 void UnpackMueLuMapping();
124 int avatarGoodClass_;
128 Avatar_handle * avatarHandle_;
141 #endif// HAVE_MUELU_AVATAR
143 #endif // MUELU_AVATARINTERFACE_HPP