text
stringlengths
1
1.04M
language
stringclasses
25 values
#include "GameCollections.h" #include "pugixml/src/pugixml.hpp" #include "Log.h" #include "FileData.h" boost::filesystem::path GameCollections::k_emulationStationFolder(".emulationstation"); boost::filesystem::path GameCollections::k_gameCollectionsFolder("game_collections"); static std::string k_autoCreatedCollection = "Favorites"; GameCollections::GameCollections(const FileData& rootFolder) : mRootFolder(rootFolder) , mGameCollectionsPath( (k_emulationStationFolder / k_gameCollectionsFolder).generic_string() ) , mActiveCollectionKey("") { } GameCollections::~GameCollections() { } bool CreateDir(boost::filesystem::path path) { if (!boost::filesystem::exists(path)) { boost::system::error_code returnedError; boost::filesystem::create_directories(path, returnedError); if (returnedError) { return false; } } return true; } void GameCollections::ImportLegacyFavoriteGameCollection() { const std::string favname = "favorites.xml"; const boost::filesystem::path legacyFavPath = mRootFolder.getPath() / favname; if (boost::filesystem::exists(legacyFavPath)) { const boost::filesystem::path newPath = mRootFolder.getPath() / mGameCollectionsPath / favname; if (!boost::filesystem::exists(newPath)) { boost::filesystem::rename(legacyFavPath, newPath); } } } void GameCollections::LoadGameCollections() { boost::filesystem::path absCollectionsPath(mRootFolder.getPath() / mGameCollectionsPath); CreateDir(absCollectionsPath); LoadSettings(); ImportLegacyFavoriteGameCollection(); using GameCollectionIt = std::map<std::string, GameCollection>::iterator; bool activeFound = false; if (boost::filesystem::exists(absCollectionsPath)) { using fsIt = boost::filesystem::recursive_directory_iterator; fsIt end; for (fsIt i(absCollectionsPath); i != end; ++i) { const boost::filesystem::path cp = ( *i ); if (!boost::filesystem::is_directory(cp)) { const std::string filename = cp.filename().generic_string(); const std::string key = cp.stem().generic_string(); LOG(LogInfo) << "Loading GameCollection: " << filename; GameCollection gameCollection(key, absCollectionsPath.generic_string()); auto result = mGameCollections.emplace(std::make_pair(key, std::move(gameCollection))); GameCollectionIt collectionIt = result.first; if (collectionIt != mGameCollections.end() && result.second) { if (!collectionIt->second.Deserialize()) { LOG(LogError) << "De-serialization failed for GameCollection: " << filename; mGameCollections.erase(collectionIt); } else { if (collectionIt->first == mActiveCollectionKey) { activeFound = true; } } } else { LOG(LogError) << "Duplicated name for GameCollection: " << filename << " [Not loaded]"; } } } if (mGameCollections.empty()) { GameCollection gameCollection(k_autoCreatedCollection, absCollectionsPath.generic_string()); auto result = mGameCollections.emplace(std::make_pair(k_autoCreatedCollection, std::move(gameCollection))); } if (!activeFound) { mActiveCollectionKey = mGameCollections.begin()->first; } } } static const std::string k_gamecollectionsTag = "game_collections"; bool GameCollections::SaveSettings() { const boost::filesystem::path settings(mRootFolder.getPath() / ( mGameCollectionsPath + ".xml" )); pugi::xml_document doc; pugi::xml_node root; const bool forWrite = false; std::string xmlPath = settings.generic_string(); root = doc.append_child(k_gamecollectionsTag.c_str()); pugi::xml_attribute attr = root.append_attribute("active"); attr.set_value(mActiveCollectionKey.c_str()); if (!doc.save_file(xmlPath.c_str())) { LOG(LogError) << "Error saving \"" << xmlPath << "!"; return false; } return true; } bool GameCollections::LoadSettings() { const boost::filesystem::path settings(mRootFolder.getPath() / (mGameCollectionsPath + ".xml")); pugi::xml_document doc; pugi::xml_node root; const bool forWrite = false; std::string xmlPath = settings.generic_string(); if (boost::filesystem::exists(xmlPath)) { pugi::xml_parse_result result = doc.load_file(xmlPath.c_str()); pugi::xml_node root = doc.child(k_gamecollectionsTag.c_str()); if (root) { mActiveCollectionKey = root.attribute("active").as_string(); } else { LOG(LogError) << "Could parsing game collection list: \"" << xmlPath << "\"!"; return false; } } return true; } bool GameCollections::SaveGameCollections() { boost::filesystem::path absCollectionsPath(mRootFolder.getPath() / mGameCollectionsPath); CreateDir(absCollectionsPath); SaveSettings(); using GameCollectionMapValueType = std::map<std::string, GameCollection>::value_type; for (GameCollectionMapValueType& pair : mGameCollections) { pair.second.Serialize(); } return true; } const GameCollection* GameCollections::GetActiveGameCollection() const { return GetGameCollection(mActiveCollectionKey); } GameCollection* GameCollections::GetActiveGameCollection() { const GameCollections& const_this = static_cast< const GameCollections& >( *this ); return const_cast< GameCollection* >( const_this.GetActiveGameCollection() ); } const GameCollections::GameCollectionMap& GameCollections::GetGameCollectionMap() const { return mGameCollections; } bool GameCollections::NewGameCollection(const std::string& key) { if (GetGameCollection(key)) { return false; } boost::filesystem::path absCollectionsPath(mRootFolder.getPath() / mGameCollectionsPath); GameCollection gameCollection(key, absCollectionsPath.generic_string()); auto result = mGameCollections.emplace(std::make_pair(key, std::move(gameCollection))); return result.second; } bool GameCollections::DeleteGameCollection(const std::string& key) { if (mActiveCollectionKey.size() <= 1) { return false; } GameCollection* collection = GetGameCollection(key); if (collection) { collection->EraseFile(); using GameCollectionIt = std::map<std::string, GameCollection>::const_iterator; mGameCollections.erase(key); if (mActiveCollectionKey == key) { if (mGameCollections.size() > 0) { mActiveCollectionKey = mGameCollections.begin()->first; } else { mActiveCollectionKey = ""; } } return true; } return false; } bool GameCollections::RenameGameCollection(const std::string& key, const std::string& newKey) { GameCollection* collection = GetGameCollection(key); if (collection) { if (key == mActiveCollectionKey) { mActiveCollectionKey = newKey; } collection->Rename(newKey); mGameCollections.emplace(newKey, *collection); //copy mGameCollections.erase(key); } return false; } bool GameCollections::DuplicateGameCollection(const std::string& key, const std::string& duplicateKey) { GameCollection* collection = GetGameCollection(key); if (collection && !GetGameCollection(duplicateKey)) { mGameCollections.emplace(duplicateKey, *collection); //copy GameCollection* duplicate = GetGameCollection(duplicateKey); if (duplicate) { duplicate->Rename(duplicateKey); return true; } } return false; } bool GameCollections::SetActiveGameCollection(const std::string& key) { if (GetGameCollection(key)) { mActiveCollectionKey = key; return true; } return false; } GameCollection* GameCollections::GetGameCollection(const std::string& key) { const GameCollections& const_this = static_cast< const GameCollections& >( *this ); return const_cast< GameCollection* >( const_this.GetGameCollection(key) ); } const GameCollection* GameCollections::GetGameCollection(const std::string& key) const { using GameCollectionIt = std::map<std::string, GameCollection>::const_iterator; GameCollectionIt collectionIt = mGameCollections.find(key); if (collectionIt != mGameCollections.end()) { return &collectionIt->second; } return nullptr; } bool GameCollections::IsInActivetGameCollection(const FileData& filedata) const { const auto collection = GetActiveGameCollection(); return collection && collection->HasGame(filedata); } bool GameCollections::HasTag(const FileData& filedata, GameCollection::Tag tag) const { for (GameCollectionMap::value_type kv : mGameCollections) { if (kv.second.HasTag(tag)) { if (kv.second.HasGame(filedata)) { return true; } } } return false; } void GameCollections::RemoveFromActiveGameCollection(const FileData& filedata) { auto collection = GetActiveGameCollection(); if (collection) { collection->RemoveGame(filedata); } } void GameCollections::AddToActiveGameCollection(const FileData& filedata) { auto collection = GetActiveGameCollection(); if (collection) { collection->AddGame(filedata); } } void GameCollections::ReplaceGameCollectionPlacholder(const FileData& filedata) { using GameCollectionMapValueType = std::map<std::string, GameCollection>::value_type; for (GameCollectionMapValueType& pair : mGameCollections) { pair.second.ReplacePlaceholder(filedata); } } void GameCollections::ReplaceAllPlacholdersForGameCollection(const std::string& gameCollectionKey) { GameCollection* collection = GetGameCollection(gameCollectionKey); if (collection) { for (FileData* filedata : mRootFolder.getFilesRecursive(GAME)) { collection->ReplacePlaceholder(*filedata); } } }
cpp
<gh_stars>0 package com.mypurecloud.sdk.v2.api; import com.fasterxml.jackson.core.type.TypeReference; import com.mypurecloud.sdk.v2.ApiException; import com.mypurecloud.sdk.v2.ApiClient; import com.mypurecloud.sdk.v2.ApiRequest; import com.mypurecloud.sdk.v2.ApiResponse; import com.mypurecloud.sdk.v2.Configuration; import com.mypurecloud.sdk.v2.model.*; import com.mypurecloud.sdk.v2.Pair; import com.mypurecloud.sdk.v2.model.ErrorBody; import com.mypurecloud.sdk.v2.model.Calibration; import com.mypurecloud.sdk.v2.model.Evaluation; import com.mypurecloud.sdk.v2.model.AgentActivityEntityListing; import java.util.Date; import com.mypurecloud.sdk.v2.model.CalibrationEntityListing; import com.mypurecloud.sdk.v2.model.QualityAuditPage; import com.mypurecloud.sdk.v2.model.Survey; import com.mypurecloud.sdk.v2.model.EvaluationEntityListing; import com.mypurecloud.sdk.v2.model.EvaluatorActivityEntityListing; import com.mypurecloud.sdk.v2.model.EvaluationForm; import com.mypurecloud.sdk.v2.model.EvaluationFormEntityListing; import com.mypurecloud.sdk.v2.model.SurveyForm; import com.mypurecloud.sdk.v2.model.SurveyFormEntityListing; import com.mypurecloud.sdk.v2.model.KeywordSet; import com.mypurecloud.sdk.v2.model.KeywordSetEntityListing; import com.mypurecloud.sdk.v2.model.ScorableSurvey; import com.mypurecloud.sdk.v2.model.AggregationQuery; import com.mypurecloud.sdk.v2.model.AggregateQueryResponse; import com.mypurecloud.sdk.v2.model.CalibrationCreate; import com.mypurecloud.sdk.v2.model.EvaluationScoringSet; import com.mypurecloud.sdk.v2.model.EvaluationFormAndScoringSet; import com.mypurecloud.sdk.v2.model.PublishForm; import com.mypurecloud.sdk.v2.model.SurveyScoringSet; import com.mypurecloud.sdk.v2.model.SurveyFormAndScoringSet; import com.mypurecloud.sdk.v2.api.request.DeleteQualityCalibrationRequest; import com.mypurecloud.sdk.v2.api.request.DeleteQualityConversationEvaluationRequest; import com.mypurecloud.sdk.v2.api.request.DeleteQualityFormRequest; import com.mypurecloud.sdk.v2.api.request.DeleteQualityFormsEvaluationRequest; import com.mypurecloud.sdk.v2.api.request.DeleteQualityFormsSurveyRequest; import com.mypurecloud.sdk.v2.api.request.DeleteQualityKeywordsetRequest; import com.mypurecloud.sdk.v2.api.request.DeleteQualityKeywordsetsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityAgentsActivityRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityCalibrationRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityCalibrationsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityConversationAuditsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityConversationEvaluationRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityConversationSurveysRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityEvaluationsQueryRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityEvaluatorsActivityRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormVersionsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsEvaluationRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsEvaluationVersionsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsEvaluationsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsSurveyRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsSurveyVersionsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsSurveysRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsSurveysBulkRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityFormsSurveysBulkContextsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityKeywordsetRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityKeywordsetsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityPublishedformRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityPublishedformsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityPublishedformsEvaluationRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityPublishedformsEvaluationsRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityPublishedformsSurveyRequest; import com.mypurecloud.sdk.v2.api.request.GetQualityPublishedformsSurveysRequest; import com.mypurecloud.sdk.v2.api.request.GetQualitySurveyRequest; import com.mypurecloud.sdk.v2.api.request.GetQualitySurveysScorableRequest; import com.mypurecloud.sdk.v2.api.request.PatchQualityFormsSurveyRequest; import com.mypurecloud.sdk.v2.api.request.PostAnalyticsEvaluationsAggregatesQueryRequest; import com.mypurecloud.sdk.v2.api.request.PostAnalyticsSurveysAggregatesQueryRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityCalibrationsRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityConversationEvaluationsRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityEvaluationsScoringRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityFormsRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityFormsEvaluationsRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityFormsSurveysRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityKeywordsetsRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityPublishedformsRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityPublishedformsEvaluationsRequest; import com.mypurecloud.sdk.v2.api.request.PostQualityPublishedformsSurveysRequest; import com.mypurecloud.sdk.v2.api.request.PostQualitySpotabilityRequest; import com.mypurecloud.sdk.v2.api.request.PostQualitySurveysScoringRequest; import com.mypurecloud.sdk.v2.api.request.PutQualityCalibrationRequest; import com.mypurecloud.sdk.v2.api.request.PutQualityConversationEvaluationRequest; import com.mypurecloud.sdk.v2.api.request.PutQualityFormRequest; import com.mypurecloud.sdk.v2.api.request.PutQualityFormsEvaluationRequest; import com.mypurecloud.sdk.v2.api.request.PutQualityFormsSurveyRequest; import com.mypurecloud.sdk.v2.api.request.PutQualityKeywordsetRequest; import com.mypurecloud.sdk.v2.api.request.PutQualitySurveysScorableRequest; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class QualityApi { private final ApiClient pcapiClient; public QualityApi() { this(Configuration.getDefaultApiClient()); } public QualityApi(ApiClient apiClient) { this.pcapiClient = apiClient; } /** * Delete a calibration by id. * * @param calibrationId Calibration ID (required) * @param calibratorId calibratorId (required) * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration deleteQualityCalibration(String calibrationId, String calibratorId) throws IOException, ApiException { return deleteQualityCalibration(createDeleteQualityCalibrationRequest(calibrationId, calibratorId)); } /** * Delete a calibration by id. * * @param calibrationId Calibration ID (required) * @param calibratorId calibratorId (required) * @return Calibration * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> deleteQualityCalibrationWithHttpInfo(String calibrationId, String calibratorId) throws IOException { return deleteQualityCalibration(createDeleteQualityCalibrationRequest(calibrationId, calibratorId).withHttpInfo()); } private DeleteQualityCalibrationRequest createDeleteQualityCalibrationRequest(String calibrationId, String calibratorId) { return DeleteQualityCalibrationRequest.builder() .withCalibrationId(calibrationId) .withCalibratorId(calibratorId) .build(); } /** * Delete a calibration by id. * * @param request The request object * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration deleteQualityCalibration(DeleteQualityCalibrationRequest request) throws IOException, ApiException { try { ApiResponse<Calibration> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Calibration>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Delete a calibration by id. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> deleteQualityCalibration(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Calibration>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Delete an evaluation * * @param conversationId conversationId (required) * @param evaluationId evaluationId (required) * @param expand evaluatorId (optional) * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation deleteQualityConversationEvaluation(String conversationId, String evaluationId, String expand) throws IOException, ApiException { return deleteQualityConversationEvaluation(createDeleteQualityConversationEvaluationRequest(conversationId, evaluationId, expand)); } /** * Delete an evaluation * * @param conversationId conversationId (required) * @param evaluationId evaluationId (required) * @param expand evaluatorId (optional) * @return Evaluation * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> deleteQualityConversationEvaluationWithHttpInfo(String conversationId, String evaluationId, String expand) throws IOException { return deleteQualityConversationEvaluation(createDeleteQualityConversationEvaluationRequest(conversationId, evaluationId, expand).withHttpInfo()); } private DeleteQualityConversationEvaluationRequest createDeleteQualityConversationEvaluationRequest(String conversationId, String evaluationId, String expand) { return DeleteQualityConversationEvaluationRequest.builder() .withConversationId(conversationId) .withEvaluationId(evaluationId) .withExpand(expand) .build(); } /** * Delete an evaluation * * @param request The request object * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation deleteQualityConversationEvaluation(DeleteQualityConversationEvaluationRequest request) throws IOException, ApiException { try { ApiResponse<Evaluation> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Evaluation>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Delete an evaluation * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> deleteQualityConversationEvaluation(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Evaluation>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Delete an evaluation form. * * @param formId Form ID (required) * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityForm(String formId) throws IOException, ApiException { deleteQualityForm(createDeleteQualityFormRequest(formId)); } /** * Delete an evaluation form. * * @param formId Form ID (required) * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityFormWithHttpInfo(String formId) throws IOException { return deleteQualityForm(createDeleteQualityFormRequest(formId).withHttpInfo()); } private DeleteQualityFormRequest createDeleteQualityFormRequest(String formId) { return DeleteQualityFormRequest.builder() .withFormId(formId) .build(); } /** * Delete an evaluation form. * * @param request The request object * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityForm(DeleteQualityFormRequest request) throws IOException, ApiException { try { ApiResponse<Void> response = pcapiClient.invoke(request.withHttpInfo(), null); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; } } /** * Delete an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityForm(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, null); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Delete an evaluation form. * * @param formId Form ID (required) * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityFormsEvaluation(String formId) throws IOException, ApiException { deleteQualityFormsEvaluation(createDeleteQualityFormsEvaluationRequest(formId)); } /** * Delete an evaluation form. * * @param formId Form ID (required) * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityFormsEvaluationWithHttpInfo(String formId) throws IOException { return deleteQualityFormsEvaluation(createDeleteQualityFormsEvaluationRequest(formId).withHttpInfo()); } private DeleteQualityFormsEvaluationRequest createDeleteQualityFormsEvaluationRequest(String formId) { return DeleteQualityFormsEvaluationRequest.builder() .withFormId(formId) .build(); } /** * Delete an evaluation form. * * @param request The request object * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityFormsEvaluation(DeleteQualityFormsEvaluationRequest request) throws IOException, ApiException { try { ApiResponse<Void> response = pcapiClient.invoke(request.withHttpInfo(), null); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; } } /** * Delete an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityFormsEvaluation(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, null); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Delete a survey form. * * @param formId Form ID (required) * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityFormsSurvey(String formId) throws IOException, ApiException { deleteQualityFormsSurvey(createDeleteQualityFormsSurveyRequest(formId)); } /** * Delete a survey form. * * @param formId Form ID (required) * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityFormsSurveyWithHttpInfo(String formId) throws IOException { return deleteQualityFormsSurvey(createDeleteQualityFormsSurveyRequest(formId).withHttpInfo()); } private DeleteQualityFormsSurveyRequest createDeleteQualityFormsSurveyRequest(String formId) { return DeleteQualityFormsSurveyRequest.builder() .withFormId(formId) .build(); } /** * Delete a survey form. * * @param request The request object * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityFormsSurvey(DeleteQualityFormsSurveyRequest request) throws IOException, ApiException { try { ApiResponse<Void> response = pcapiClient.invoke(request.withHttpInfo(), null); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; } } /** * Delete a survey form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityFormsSurvey(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, null); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Delete a keywordSet by id. * * @param keywordSetId KeywordSet ID (required) * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityKeywordset(String keywordSetId) throws IOException, ApiException { deleteQualityKeywordset(createDeleteQualityKeywordsetRequest(keywordSetId)); } /** * Delete a keywordSet by id. * * @param keywordSetId KeywordSet ID (required) * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityKeywordsetWithHttpInfo(String keywordSetId) throws IOException { return deleteQualityKeywordset(createDeleteQualityKeywordsetRequest(keywordSetId).withHttpInfo()); } private DeleteQualityKeywordsetRequest createDeleteQualityKeywordsetRequest(String keywordSetId) { return DeleteQualityKeywordsetRequest.builder() .withKeywordSetId(keywordSetId) .build(); } /** * Delete a keywordSet by id. * * @param request The request object * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityKeywordset(DeleteQualityKeywordsetRequest request) throws IOException, ApiException { try { ApiResponse<Void> response = pcapiClient.invoke(request.withHttpInfo(), null); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; } } /** * Delete a keywordSet by id. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityKeywordset(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, null); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Delete keyword sets * Bulk delete of keyword sets; this will only delete the keyword sets that match the ids specified in the query param. * @param ids A comma-delimited list of valid KeywordSet ids (required) * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityKeywordsets(String ids) throws IOException, ApiException { deleteQualityKeywordsets(createDeleteQualityKeywordsetsRequest(ids)); } /** * Delete keyword sets * Bulk delete of keyword sets; this will only delete the keyword sets that match the ids specified in the query param. * @param ids A comma-delimited list of valid KeywordSet ids (required) * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityKeywordsetsWithHttpInfo(String ids) throws IOException { return deleteQualityKeywordsets(createDeleteQualityKeywordsetsRequest(ids).withHttpInfo()); } private DeleteQualityKeywordsetsRequest createDeleteQualityKeywordsetsRequest(String ids) { return DeleteQualityKeywordsetsRequest.builder() .withIds(ids) .build(); } /** * Delete keyword sets * Bulk delete of keyword sets; this will only delete the keyword sets that match the ids specified in the query param. * @param request The request object * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public void deleteQualityKeywordsets(DeleteQualityKeywordsetsRequest request) throws IOException, ApiException { try { ApiResponse<Void> response = pcapiClient.invoke(request.withHttpInfo(), null); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; } } /** * Delete keyword sets * Bulk delete of keyword sets; this will only delete the keyword sets that match the ids specified in the query param. * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Void> deleteQualityKeywordsets(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, null); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Void> response = (ApiResponse<Void>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Gets a list of Agent Activities * Including the number of evaluations and average evaluation score * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param startTime Start time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param endTime End time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param agentUserId user id of agent requested (optional) * @param evaluatorUserId user id of the evaluator (optional) * @param name name (optional) * @param group group id (optional) * @return AgentActivityEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public AgentActivityEntityListing getQualityAgentsActivity(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, Date startTime, Date endTime, List<String> agentUserId, String evaluatorUserId, String name, String group) throws IOException, ApiException { return getQualityAgentsActivity(createGetQualityAgentsActivityRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, startTime, endTime, agentUserId, evaluatorUserId, name, group)); } /** * Gets a list of Agent Activities * Including the number of evaluations and average evaluation score * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param startTime Start time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param endTime End time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param agentUserId user id of agent requested (optional) * @param evaluatorUserId user id of the evaluator (optional) * @param name name (optional) * @param group group id (optional) * @return AgentActivityEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<AgentActivityEntityListing> getQualityAgentsActivityWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, Date startTime, Date endTime, List<String> agentUserId, String evaluatorUserId, String name, String group) throws IOException { return getQualityAgentsActivity(createGetQualityAgentsActivityRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, startTime, endTime, agentUserId, evaluatorUserId, name, group).withHttpInfo()); } private GetQualityAgentsActivityRequest createGetQualityAgentsActivityRequest(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, Date startTime, Date endTime, List<String> agentUserId, String evaluatorUserId, String name, String group) { return GetQualityAgentsActivityRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withExpand(expand) .withNextPage(nextPage) .withPreviousPage(previousPage) .withStartTime(startTime) .withEndTime(endTime) .withAgentUserId(agentUserId) .withEvaluatorUserId(evaluatorUserId) .withName(name) .withGroup(group) .build(); } /** * Gets a list of Agent Activities * Including the number of evaluations and average evaluation score * @param request The request object * @return AgentActivityEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public AgentActivityEntityListing getQualityAgentsActivity(GetQualityAgentsActivityRequest request) throws IOException, ApiException { try { ApiResponse<AgentActivityEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<AgentActivityEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Gets a list of Agent Activities * Including the number of evaluations and average evaluation score * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<AgentActivityEntityListing> getQualityAgentsActivity(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<AgentActivityEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<AgentActivityEntityListing> response = (ApiResponse<AgentActivityEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<AgentActivityEntityListing> response = (ApiResponse<AgentActivityEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get a calibration by id. Requires either calibrator id or conversation id * * @param calibrationId Calibration ID (required) * @param calibratorId calibratorId (optional) * @param conversationId conversationId (optional) * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration getQualityCalibration(String calibrationId, String calibratorId, String conversationId) throws IOException, ApiException { return getQualityCalibration(createGetQualityCalibrationRequest(calibrationId, calibratorId, conversationId)); } /** * Get a calibration by id. Requires either calibrator id or conversation id * * @param calibrationId Calibration ID (required) * @param calibratorId calibratorId (optional) * @param conversationId conversationId (optional) * @return Calibration * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> getQualityCalibrationWithHttpInfo(String calibrationId, String calibratorId, String conversationId) throws IOException { return getQualityCalibration(createGetQualityCalibrationRequest(calibrationId, calibratorId, conversationId).withHttpInfo()); } private GetQualityCalibrationRequest createGetQualityCalibrationRequest(String calibrationId, String calibratorId, String conversationId) { return GetQualityCalibrationRequest.builder() .withCalibrationId(calibrationId) .withCalibratorId(calibratorId) .withConversationId(conversationId) .build(); } /** * Get a calibration by id. Requires either calibrator id or conversation id * * @param request The request object * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration getQualityCalibration(GetQualityCalibrationRequest request) throws IOException, ApiException { try { ApiResponse<Calibration> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Calibration>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get a calibration by id. Requires either calibrator id or conversation id * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> getQualityCalibration(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Calibration>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the list of calibrations * * @param calibratorId user id of calibrator (required) * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param conversationId conversation id (optional) * @param startTime Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param endTime end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @return CalibrationEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public CalibrationEntityListing getQualityCalibrations(String calibratorId, Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String conversationId, Date startTime, Date endTime) throws IOException, ApiException { return getQualityCalibrations(createGetQualityCalibrationsRequest(calibratorId, pageSize, pageNumber, sortBy, expand, nextPage, previousPage, conversationId, startTime, endTime)); } /** * Get the list of calibrations * * @param calibratorId user id of calibrator (required) * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param conversationId conversation id (optional) * @param startTime Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param endTime end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @return CalibrationEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<CalibrationEntityListing> getQualityCalibrationsWithHttpInfo(String calibratorId, Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String conversationId, Date startTime, Date endTime) throws IOException { return getQualityCalibrations(createGetQualityCalibrationsRequest(calibratorId, pageSize, pageNumber, sortBy, expand, nextPage, previousPage, conversationId, startTime, endTime).withHttpInfo()); } private GetQualityCalibrationsRequest createGetQualityCalibrationsRequest(String calibratorId, Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String conversationId, Date startTime, Date endTime) { return GetQualityCalibrationsRequest.builder() .withCalibratorId(calibratorId) .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withExpand(expand) .withNextPage(nextPage) .withPreviousPage(previousPage) .withConversationId(conversationId) .withStartTime(startTime) .withEndTime(endTime) .build(); } /** * Get the list of calibrations * * @param request The request object * @return CalibrationEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public CalibrationEntityListing getQualityCalibrations(GetQualityCalibrationsRequest request) throws IOException, ApiException { try { ApiResponse<CalibrationEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<CalibrationEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the list of calibrations * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<CalibrationEntityListing> getQualityCalibrations(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<CalibrationEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<CalibrationEntityListing> response = (ApiResponse<CalibrationEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<CalibrationEntityListing> response = (ApiResponse<CalibrationEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get audits for conversation or recording * * @param conversationId Conversation ID (required) * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param recordingId id of the recording (optional) * @param entityType entity type options: Recording, Calibration, Evaluation, Annotation, Screen_Recording (optional, default to RECORDING) * @return QualityAuditPage * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public QualityAuditPage getQualityConversationAudits(String conversationId, Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String recordingId, String entityType) throws IOException, ApiException { return getQualityConversationAudits(createGetQualityConversationAuditsRequest(conversationId, pageSize, pageNumber, sortBy, expand, nextPage, previousPage, recordingId, entityType)); } /** * Get audits for conversation or recording * * @param conversationId Conversation ID (required) * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param recordingId id of the recording (optional) * @param entityType entity type options: Recording, Calibration, Evaluation, Annotation, Screen_Recording (optional, default to RECORDING) * @return QualityAuditPage * @throws IOException if the request fails to be processed */ public ApiResponse<QualityAuditPage> getQualityConversationAuditsWithHttpInfo(String conversationId, Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String recordingId, String entityType) throws IOException { return getQualityConversationAudits(createGetQualityConversationAuditsRequest(conversationId, pageSize, pageNumber, sortBy, expand, nextPage, previousPage, recordingId, entityType).withHttpInfo()); } private GetQualityConversationAuditsRequest createGetQualityConversationAuditsRequest(String conversationId, Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String recordingId, String entityType) { return GetQualityConversationAuditsRequest.builder() .withConversationId(conversationId) .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withExpand(expand) .withNextPage(nextPage) .withPreviousPage(previousPage) .withRecordingId(recordingId) .withEntityType(entityType) .build(); } /** * Get audits for conversation or recording * * @param request The request object * @return QualityAuditPage * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public QualityAuditPage getQualityConversationAudits(GetQualityConversationAuditsRequest request) throws IOException, ApiException { try { ApiResponse<QualityAuditPage> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<QualityAuditPage>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get audits for conversation or recording * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<QualityAuditPage> getQualityConversationAudits(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<QualityAuditPage>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<QualityAuditPage> response = (ApiResponse<QualityAuditPage>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<QualityAuditPage> response = (ApiResponse<QualityAuditPage>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get an evaluation * * @param conversationId conversationId (required) * @param evaluationId evaluationId (required) * @param expand agent, evaluator, evaluationForm (optional) * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation getQualityConversationEvaluation(String conversationId, String evaluationId, String expand) throws IOException, ApiException { return getQualityConversationEvaluation(createGetQualityConversationEvaluationRequest(conversationId, evaluationId, expand)); } /** * Get an evaluation * * @param conversationId conversationId (required) * @param evaluationId evaluationId (required) * @param expand agent, evaluator, evaluationForm (optional) * @return Evaluation * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> getQualityConversationEvaluationWithHttpInfo(String conversationId, String evaluationId, String expand) throws IOException { return getQualityConversationEvaluation(createGetQualityConversationEvaluationRequest(conversationId, evaluationId, expand).withHttpInfo()); } private GetQualityConversationEvaluationRequest createGetQualityConversationEvaluationRequest(String conversationId, String evaluationId, String expand) { return GetQualityConversationEvaluationRequest.builder() .withConversationId(conversationId) .withEvaluationId(evaluationId) .withExpand(expand) .build(); } /** * Get an evaluation * * @param request The request object * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation getQualityConversationEvaluation(GetQualityConversationEvaluationRequest request) throws IOException, ApiException { try { ApiResponse<Evaluation> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Evaluation>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get an evaluation * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> getQualityConversationEvaluation(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Evaluation>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the surveys for a conversation * * @param conversationId conversationId (required) * @return List<Survey> * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public List<Survey> getQualityConversationSurveys(String conversationId) throws IOException, ApiException { return getQualityConversationSurveys(createGetQualityConversationSurveysRequest(conversationId)); } /** * Get the surveys for a conversation * * @param conversationId conversationId (required) * @return List<Survey> * @throws IOException if the request fails to be processed */ public ApiResponse<List<Survey>> getQualityConversationSurveysWithHttpInfo(String conversationId) throws IOException { return getQualityConversationSurveys(createGetQualityConversationSurveysRequest(conversationId).withHttpInfo()); } private GetQualityConversationSurveysRequest createGetQualityConversationSurveysRequest(String conversationId) { return GetQualityConversationSurveysRequest.builder() .withConversationId(conversationId) .build(); } /** * Get the surveys for a conversation * * @param request The request object * @return List<Survey> * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public List<Survey> getQualityConversationSurveys(GetQualityConversationSurveysRequest request) throws IOException, ApiException { try { ApiResponse<List<Survey>> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<List<Survey>>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the surveys for a conversation * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<List<Survey>> getQualityConversationSurveys(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<List<Survey>>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<List<Survey>> response = (ApiResponse<List<Survey>>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<List<Survey>> response = (ApiResponse<List<Survey>>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Queries Evaluations and returns a paged list * Query params must include one of conversationId, evaluatorUserId, or agentUserId * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param conversationId conversationId specified (optional) * @param agentUserId user id of the agent (optional) * @param evaluatorUserId evaluator user id (optional) * @param queueId queue id (optional) * @param startTime start time of the evaluation query (optional) * @param endTime end time of the evaluation query (optional) * @param evaluationState (optional) * @param isReleased the evaluation has been released (optional) * @param agentHasRead agent has the evaluation (optional) * @param expandAnswerTotalScores get the total scores for evaluations (optional) * @param maximum maximum (optional) * @param sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are &#39;a&#39;, &#39;asc&#39;, &#39;ascending&#39;, &#39;d&#39;, &#39;desc&#39;, &#39;descending&#39; (optional) * @return EvaluationEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationEntityListing getQualityEvaluationsQuery(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String conversationId, String agentUserId, String evaluatorUserId, String queueId, String startTime, String endTime, List<String> evaluationState, Boolean isReleased, Boolean agentHasRead, Boolean expandAnswerTotalScores, Integer maximum, String sortOrder) throws IOException, ApiException { return getQualityEvaluationsQuery(createGetQualityEvaluationsQueryRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, conversationId, agentUserId, evaluatorUserId, queueId, startTime, endTime, evaluationState, isReleased, agentHasRead, expandAnswerTotalScores, maximum, sortOrder)); } /** * Queries Evaluations and returns a paged list * Query params must include one of conversationId, evaluatorUserId, or agentUserId * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param conversationId conversationId specified (optional) * @param agentUserId user id of the agent (optional) * @param evaluatorUserId evaluator user id (optional) * @param queueId queue id (optional) * @param startTime start time of the evaluation query (optional) * @param endTime end time of the evaluation query (optional) * @param evaluationState (optional) * @param isReleased the evaluation has been released (optional) * @param agentHasRead agent has the evaluation (optional) * @param expandAnswerTotalScores get the total scores for evaluations (optional) * @param maximum maximum (optional) * @param sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are &#39;a&#39;, &#39;asc&#39;, &#39;ascending&#39;, &#39;d&#39;, &#39;desc&#39;, &#39;descending&#39; (optional) * @return EvaluationEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationEntityListing> getQualityEvaluationsQueryWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String conversationId, String agentUserId, String evaluatorUserId, String queueId, String startTime, String endTime, List<String> evaluationState, Boolean isReleased, Boolean agentHasRead, Boolean expandAnswerTotalScores, Integer maximum, String sortOrder) throws IOException { return getQualityEvaluationsQuery(createGetQualityEvaluationsQueryRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, conversationId, agentUserId, evaluatorUserId, queueId, startTime, endTime, evaluationState, isReleased, agentHasRead, expandAnswerTotalScores, maximum, sortOrder).withHttpInfo()); } private GetQualityEvaluationsQueryRequest createGetQualityEvaluationsQueryRequest(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String conversationId, String agentUserId, String evaluatorUserId, String queueId, String startTime, String endTime, List<String> evaluationState, Boolean isReleased, Boolean agentHasRead, Boolean expandAnswerTotalScores, Integer maximum, String sortOrder) { return GetQualityEvaluationsQueryRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withExpand(expand) .withNextPage(nextPage) .withPreviousPage(previousPage) .withConversationId(conversationId) .withAgentUserId(agentUserId) .withEvaluatorUserId(evaluatorUserId) .withQueueId(queueId) .withStartTime(startTime) .withEndTime(endTime) .withEvaluationState(evaluationState) .withIsReleased(isReleased) .withAgentHasRead(agentHasRead) .withExpandAnswerTotalScores(expandAnswerTotalScores) .withMaximum(maximum) .withSortOrder(sortOrder) .build(); } /** * Queries Evaluations and returns a paged list * Query params must include one of conversationId, evaluatorUserId, or agentUserId * @param request The request object * @return EvaluationEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationEntityListing getQualityEvaluationsQuery(GetQualityEvaluationsQueryRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Queries Evaluations and returns a paged list * Query params must include one of conversationId, evaluatorUserId, or agentUserId * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationEntityListing> getQualityEvaluationsQuery(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationEntityListing> response = (ApiResponse<EvaluationEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationEntityListing> response = (ApiResponse<EvaluationEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get an evaluator activity * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param startTime The start time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param endTime The end time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param name Evaluator name (optional) * @param permission permission strings (optional) * @param group group id (optional) * @return EvaluatorActivityEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluatorActivityEntityListing getQualityEvaluatorsActivity(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, Date startTime, Date endTime, String name, List<String> permission, String group) throws IOException, ApiException { return getQualityEvaluatorsActivity(createGetQualityEvaluatorsActivityRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, startTime, endTime, name, permission, group)); } /** * Get an evaluator activity * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param startTime The start time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param endTime The end time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ (optional) * @param name Evaluator name (optional) * @param permission permission strings (optional) * @param group group id (optional) * @return EvaluatorActivityEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluatorActivityEntityListing> getQualityEvaluatorsActivityWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, Date startTime, Date endTime, String name, List<String> permission, String group) throws IOException { return getQualityEvaluatorsActivity(createGetQualityEvaluatorsActivityRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, startTime, endTime, name, permission, group).withHttpInfo()); } private GetQualityEvaluatorsActivityRequest createGetQualityEvaluatorsActivityRequest(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, Date startTime, Date endTime, String name, List<String> permission, String group) { return GetQualityEvaluatorsActivityRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withExpand(expand) .withNextPage(nextPage) .withPreviousPage(previousPage) .withStartTime(startTime) .withEndTime(endTime) .withName(name) .withPermission(permission) .withGroup(group) .build(); } /** * Get an evaluator activity * * @param request The request object * @return EvaluatorActivityEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluatorActivityEntityListing getQualityEvaluatorsActivity(GetQualityEvaluatorsActivityRequest request) throws IOException, ApiException { try { ApiResponse<EvaluatorActivityEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluatorActivityEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get an evaluator activity * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluatorActivityEntityListing> getQualityEvaluatorsActivity(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluatorActivityEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluatorActivityEntityListing> response = (ApiResponse<EvaluatorActivityEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluatorActivityEntityListing> response = (ApiResponse<EvaluatorActivityEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get an evaluation form * * @param formId Form ID (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityForm(String formId) throws IOException, ApiException { return getQualityForm(createGetQualityFormRequest(formId)); } /** * Get an evaluation form * * @param formId Form ID (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityFormWithHttpInfo(String formId) throws IOException { return getQualityForm(createGetQualityFormRequest(formId).withHttpInfo()); } private GetQualityFormRequest createGetQualityFormRequest(String formId) { return GetQualityFormRequest.builder() .withFormId(formId) .build(); } /** * Get an evaluation form * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityForm(GetQualityFormRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get an evaluation form * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityForm(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Gets all the revisions for a specific evaluation. * * @param formId Form ID (required) * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityFormVersions(String formId, Integer pageSize, Integer pageNumber) throws IOException, ApiException { return getQualityFormVersions(createGetQualityFormVersionsRequest(formId, pageSize, pageNumber)); } /** * Gets all the revisions for a specific evaluation. * * @param formId Form ID (required) * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @return EvaluationFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityFormVersionsWithHttpInfo(String formId, Integer pageSize, Integer pageNumber) throws IOException { return getQualityFormVersions(createGetQualityFormVersionsRequest(formId, pageSize, pageNumber).withHttpInfo()); } private GetQualityFormVersionsRequest createGetQualityFormVersionsRequest(String formId, Integer pageSize, Integer pageNumber) { return GetQualityFormVersionsRequest.builder() .withFormId(formId) .withPageSize(pageSize) .withPageNumber(pageNumber) .build(); } /** * Gets all the revisions for a specific evaluation. * * @param request The request object * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityFormVersions(GetQualityFormVersionsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Gets all the revisions for a specific evaluation. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityFormVersions(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the list of evaluation forms * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param expand Expand (optional) * @param name Name (optional) * @param sortOrder Order to sort results, either asc or desc (optional) * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityForms(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) throws IOException, ApiException { return getQualityForms(createGetQualityFormsRequest(pageSize, pageNumber, sortBy, nextPage, previousPage, expand, name, sortOrder)); } /** * Get the list of evaluation forms * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param expand Expand (optional) * @param name Name (optional) * @param sortOrder Order to sort results, either asc or desc (optional) * @return EvaluationFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityFormsWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) throws IOException { return getQualityForms(createGetQualityFormsRequest(pageSize, pageNumber, sortBy, nextPage, previousPage, expand, name, sortOrder).withHttpInfo()); } private GetQualityFormsRequest createGetQualityFormsRequest(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) { return GetQualityFormsRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withNextPage(nextPage) .withPreviousPage(previousPage) .withExpand(expand) .withName(name) .withSortOrder(sortOrder) .build(); } /** * Get the list of evaluation forms * * @param request The request object * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityForms(GetQualityFormsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the list of evaluation forms * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityForms(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get an evaluation form * * @param formId Form ID (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityFormsEvaluation(String formId) throws IOException, ApiException { return getQualityFormsEvaluation(createGetQualityFormsEvaluationRequest(formId)); } /** * Get an evaluation form * * @param formId Form ID (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityFormsEvaluationWithHttpInfo(String formId) throws IOException { return getQualityFormsEvaluation(createGetQualityFormsEvaluationRequest(formId).withHttpInfo()); } private GetQualityFormsEvaluationRequest createGetQualityFormsEvaluationRequest(String formId) { return GetQualityFormsEvaluationRequest.builder() .withFormId(formId) .build(); } /** * Get an evaluation form * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityFormsEvaluation(GetQualityFormsEvaluationRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get an evaluation form * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityFormsEvaluation(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Gets all the revisions for a specific evaluation. * * @param formId Form ID (required) * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityFormsEvaluationVersions(String formId, Integer pageSize, Integer pageNumber) throws IOException, ApiException { return getQualityFormsEvaluationVersions(createGetQualityFormsEvaluationVersionsRequest(formId, pageSize, pageNumber)); } /** * Gets all the revisions for a specific evaluation. * * @param formId Form ID (required) * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @return EvaluationFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityFormsEvaluationVersionsWithHttpInfo(String formId, Integer pageSize, Integer pageNumber) throws IOException { return getQualityFormsEvaluationVersions(createGetQualityFormsEvaluationVersionsRequest(formId, pageSize, pageNumber).withHttpInfo()); } private GetQualityFormsEvaluationVersionsRequest createGetQualityFormsEvaluationVersionsRequest(String formId, Integer pageSize, Integer pageNumber) { return GetQualityFormsEvaluationVersionsRequest.builder() .withFormId(formId) .withPageSize(pageSize) .withPageNumber(pageNumber) .build(); } /** * Gets all the revisions for a specific evaluation. * * @param request The request object * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityFormsEvaluationVersions(GetQualityFormsEvaluationVersionsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Gets all the revisions for a specific evaluation. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityFormsEvaluationVersions(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the list of evaluation forms * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param expand Expand (optional) * @param name Name (optional) * @param sortOrder Order to sort results, either asc or desc (optional) * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityFormsEvaluations(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) throws IOException, ApiException { return getQualityFormsEvaluations(createGetQualityFormsEvaluationsRequest(pageSize, pageNumber, sortBy, nextPage, previousPage, expand, name, sortOrder)); } /** * Get the list of evaluation forms * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param expand Expand (optional) * @param name Name (optional) * @param sortOrder Order to sort results, either asc or desc (optional) * @return EvaluationFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityFormsEvaluationsWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) throws IOException { return getQualityFormsEvaluations(createGetQualityFormsEvaluationsRequest(pageSize, pageNumber, sortBy, nextPage, previousPage, expand, name, sortOrder).withHttpInfo()); } private GetQualityFormsEvaluationsRequest createGetQualityFormsEvaluationsRequest(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) { return GetQualityFormsEvaluationsRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withNextPage(nextPage) .withPreviousPage(previousPage) .withExpand(expand) .withName(name) .withSortOrder(sortOrder) .build(); } /** * Get the list of evaluation forms * * @param request The request object * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityFormsEvaluations(GetQualityFormsEvaluationsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the list of evaluation forms * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityFormsEvaluations(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get a survey form * * @param formId Form ID (required) * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm getQualityFormsSurvey(String formId) throws IOException, ApiException { return getQualityFormsSurvey(createGetQualityFormsSurveyRequest(formId)); } /** * Get a survey form * * @param formId Form ID (required) * @return SurveyForm * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> getQualityFormsSurveyWithHttpInfo(String formId) throws IOException { return getQualityFormsSurvey(createGetQualityFormsSurveyRequest(formId).withHttpInfo()); } private GetQualityFormsSurveyRequest createGetQualityFormsSurveyRequest(String formId) { return GetQualityFormsSurveyRequest.builder() .withFormId(formId) .build(); } /** * Get a survey form * * @param request The request object * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm getQualityFormsSurvey(GetQualityFormsSurveyRequest request) throws IOException, ApiException { try { ApiResponse<SurveyForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get a survey form * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> getQualityFormsSurvey(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Gets all the revisions for a specific survey. * * @param formId Form ID (required) * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveyVersions(String formId, Integer pageSize, Integer pageNumber) throws IOException, ApiException { return getQualityFormsSurveyVersions(createGetQualityFormsSurveyVersionsRequest(formId, pageSize, pageNumber)); } /** * Gets all the revisions for a specific survey. * * @param formId Form ID (required) * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @return SurveyFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveyVersionsWithHttpInfo(String formId, Integer pageSize, Integer pageNumber) throws IOException { return getQualityFormsSurveyVersions(createGetQualityFormsSurveyVersionsRequest(formId, pageSize, pageNumber).withHttpInfo()); } private GetQualityFormsSurveyVersionsRequest createGetQualityFormsSurveyVersionsRequest(String formId, Integer pageSize, Integer pageNumber) { return GetQualityFormsSurveyVersionsRequest.builder() .withFormId(formId) .withPageSize(pageSize) .withPageNumber(pageNumber) .build(); } /** * Gets all the revisions for a specific survey. * * @param request The request object * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveyVersions(GetQualityFormsSurveyVersionsRequest request) throws IOException, ApiException { try { ApiResponse<SurveyFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Gets all the revisions for a specific survey. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveyVersions(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the list of survey forms * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param expand Expand (optional) * @param name Name (optional) * @param sortOrder Order to sort results, either asc or desc (optional) * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveys(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) throws IOException, ApiException { return getQualityFormsSurveys(createGetQualityFormsSurveysRequest(pageSize, pageNumber, sortBy, nextPage, previousPage, expand, name, sortOrder)); } /** * Get the list of survey forms * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param expand Expand (optional) * @param name Name (optional) * @param sortOrder Order to sort results, either asc or desc (optional) * @return SurveyFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveysWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) throws IOException { return getQualityFormsSurveys(createGetQualityFormsSurveysRequest(pageSize, pageNumber, sortBy, nextPage, previousPage, expand, name, sortOrder).withHttpInfo()); } private GetQualityFormsSurveysRequest createGetQualityFormsSurveysRequest(Integer pageSize, Integer pageNumber, String sortBy, String nextPage, String previousPage, String expand, String name, String sortOrder) { return GetQualityFormsSurveysRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withNextPage(nextPage) .withPreviousPage(previousPage) .withExpand(expand) .withName(name) .withSortOrder(sortOrder) .build(); } /** * Get the list of survey forms * * @param request The request object * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveys(GetQualityFormsSurveysRequest request) throws IOException, ApiException { try { ApiResponse<SurveyFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the list of survey forms * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveys(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Retrieve a list of survey forms by their ids * * @param id A comma-delimited list of valid survey form ids (required) * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveysBulk(List<String> id) throws IOException, ApiException { return getQualityFormsSurveysBulk(createGetQualityFormsSurveysBulkRequest(id)); } /** * Retrieve a list of survey forms by their ids * * @param id A comma-delimited list of valid survey form ids (required) * @return SurveyFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveysBulkWithHttpInfo(List<String> id) throws IOException { return getQualityFormsSurveysBulk(createGetQualityFormsSurveysBulkRequest(id).withHttpInfo()); } private GetQualityFormsSurveysBulkRequest createGetQualityFormsSurveysBulkRequest(List<String> id) { return GetQualityFormsSurveysBulkRequest.builder() .withId(id) .build(); } /** * Retrieve a list of survey forms by their ids * * @param request The request object * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveysBulk(GetQualityFormsSurveysBulkRequest request) throws IOException, ApiException { try { ApiResponse<SurveyFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Retrieve a list of survey forms by their ids * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveysBulk(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Retrieve a list of the latest form versions by context ids * * @param contextId A comma-delimited list of valid survey form context ids (required) * @param published If true, the latest published version will be included. If false, only the unpublished version will be included. (optional, default to true) * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveysBulkContexts(List<String> contextId, Boolean published) throws IOException, ApiException { return getQualityFormsSurveysBulkContexts(createGetQualityFormsSurveysBulkContextsRequest(contextId, published)); } /** * Retrieve a list of the latest form versions by context ids * * @param contextId A comma-delimited list of valid survey form context ids (required) * @param published If true, the latest published version will be included. If false, only the unpublished version will be included. (optional, default to true) * @return SurveyFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveysBulkContextsWithHttpInfo(List<String> contextId, Boolean published) throws IOException { return getQualityFormsSurveysBulkContexts(createGetQualityFormsSurveysBulkContextsRequest(contextId, published).withHttpInfo()); } private GetQualityFormsSurveysBulkContextsRequest createGetQualityFormsSurveysBulkContextsRequest(List<String> contextId, Boolean published) { return GetQualityFormsSurveysBulkContextsRequest.builder() .withContextId(contextId) .withPublished(published) .build(); } /** * Retrieve a list of the latest form versions by context ids * * @param request The request object * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityFormsSurveysBulkContexts(GetQualityFormsSurveysBulkContextsRequest request) throws IOException, ApiException { try { ApiResponse<SurveyFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Retrieve a list of the latest form versions by context ids * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityFormsSurveysBulkContexts(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get a keywordSet by id. * * @param keywordSetId KeywordSet ID (required) * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet getQualityKeywordset(String keywordSetId) throws IOException, ApiException { return getQualityKeywordset(createGetQualityKeywordsetRequest(keywordSetId)); } /** * Get a keywordSet by id. * * @param keywordSetId KeywordSet ID (required) * @return KeywordSet * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> getQualityKeywordsetWithHttpInfo(String keywordSetId) throws IOException { return getQualityKeywordset(createGetQualityKeywordsetRequest(keywordSetId).withHttpInfo()); } private GetQualityKeywordsetRequest createGetQualityKeywordsetRequest(String keywordSetId) { return GetQualityKeywordsetRequest.builder() .withKeywordSetId(keywordSetId) .build(); } /** * Get a keywordSet by id. * * @param request The request object * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet getQualityKeywordset(GetQualityKeywordsetRequest request) throws IOException, ApiException { try { ApiResponse<KeywordSet> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<KeywordSet>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get a keywordSet by id. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> getQualityKeywordset(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<KeywordSet>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the list of keyword sets * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param name the keyword set name - used for filtering results in searches. (optional) * @param queueId the queue id - used for filtering results in searches. (optional) * @param agentId the agent id - used for filtering results in searches. (optional) * @param operator If agentID and queueId are both present, this determines whether the query is an AND or OR between those parameters. (optional) * @return KeywordSetEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSetEntityListing getQualityKeywordsets(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String name, String queueId, String agentId, String operator) throws IOException, ApiException { return getQualityKeywordsets(createGetQualityKeywordsetsRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, name, queueId, agentId, operator)); } /** * Get the list of keyword sets * * @param pageSize The total page size requested (optional, default to 25) * @param pageNumber The page number requested (optional, default to 1) * @param sortBy variable name requested to sort by (optional) * @param expand variable name requested by expand list (optional) * @param nextPage next page token (optional) * @param previousPage Previous page token (optional) * @param name the keyword set name - used for filtering results in searches. (optional) * @param queueId the queue id - used for filtering results in searches. (optional) * @param agentId the agent id - used for filtering results in searches. (optional) * @param operator If agentID and queueId are both present, this determines whether the query is an AND or OR between those parameters. (optional) * @return KeywordSetEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSetEntityListing> getQualityKeywordsetsWithHttpInfo(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String name, String queueId, String agentId, String operator) throws IOException { return getQualityKeywordsets(createGetQualityKeywordsetsRequest(pageSize, pageNumber, sortBy, expand, nextPage, previousPage, name, queueId, agentId, operator).withHttpInfo()); } private GetQualityKeywordsetsRequest createGetQualityKeywordsetsRequest(Integer pageSize, Integer pageNumber, String sortBy, List<String> expand, String nextPage, String previousPage, String name, String queueId, String agentId, String operator) { return GetQualityKeywordsetsRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withSortBy(sortBy) .withExpand(expand) .withNextPage(nextPage) .withPreviousPage(previousPage) .withName(name) .withQueueId(queueId) .withAgentId(agentId) .withOperator(operator) .build(); } /** * Get the list of keyword sets * * @param request The request object * @return KeywordSetEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSetEntityListing getQualityKeywordsets(GetQualityKeywordsetsRequest request) throws IOException, ApiException { try { ApiResponse<KeywordSetEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<KeywordSetEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the list of keyword sets * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSetEntityListing> getQualityKeywordsets(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<KeywordSetEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<KeywordSetEntityListing> response = (ApiResponse<KeywordSetEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<KeywordSetEntityListing> response = (ApiResponse<KeywordSetEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the published evaluation forms. * * @param formId Form ID (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityPublishedform(String formId) throws IOException, ApiException { return getQualityPublishedform(createGetQualityPublishedformRequest(formId)); } /** * Get the published evaluation forms. * * @param formId Form ID (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityPublishedformWithHttpInfo(String formId) throws IOException { return getQualityPublishedform(createGetQualityPublishedformRequest(formId).withHttpInfo()); } private GetQualityPublishedformRequest createGetQualityPublishedformRequest(String formId) { return GetQualityPublishedformRequest.builder() .withFormId(formId) .build(); } /** * Get the published evaluation forms. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityPublishedform(GetQualityPublishedformRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the published evaluation forms. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityPublishedform(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the published evaluation forms. * * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @param name Name (optional) * @param onlyLatestPerContext onlyLatestPerContext (optional, default to false) * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityPublishedforms(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestPerContext) throws IOException, ApiException { return getQualityPublishedforms(createGetQualityPublishedformsRequest(pageSize, pageNumber, name, onlyLatestPerContext)); } /** * Get the published evaluation forms. * * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @param name Name (optional) * @param onlyLatestPerContext onlyLatestPerContext (optional, default to false) * @return EvaluationFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityPublishedformsWithHttpInfo(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestPerContext) throws IOException { return getQualityPublishedforms(createGetQualityPublishedformsRequest(pageSize, pageNumber, name, onlyLatestPerContext).withHttpInfo()); } private GetQualityPublishedformsRequest createGetQualityPublishedformsRequest(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestPerContext) { return GetQualityPublishedformsRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withName(name) .withOnlyLatestPerContext(onlyLatestPerContext) .build(); } /** * Get the published evaluation forms. * * @param request The request object * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityPublishedforms(GetQualityPublishedformsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the published evaluation forms. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityPublishedforms(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the most recent published version of an evaluation form. * * @param formId Form ID (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityPublishedformsEvaluation(String formId) throws IOException, ApiException { return getQualityPublishedformsEvaluation(createGetQualityPublishedformsEvaluationRequest(formId)); } /** * Get the most recent published version of an evaluation form. * * @param formId Form ID (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityPublishedformsEvaluationWithHttpInfo(String formId) throws IOException { return getQualityPublishedformsEvaluation(createGetQualityPublishedformsEvaluationRequest(formId).withHttpInfo()); } private GetQualityPublishedformsEvaluationRequest createGetQualityPublishedformsEvaluationRequest(String formId) { return GetQualityPublishedformsEvaluationRequest.builder() .withFormId(formId) .build(); } /** * Get the most recent published version of an evaluation form. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm getQualityPublishedformsEvaluation(GetQualityPublishedformsEvaluationRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the most recent published version of an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> getQualityPublishedformsEvaluation(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the published evaluation forms. * * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @param name Name (optional) * @param onlyLatestPerContext onlyLatestPerContext (optional, default to false) * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityPublishedformsEvaluations(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestPerContext) throws IOException, ApiException { return getQualityPublishedformsEvaluations(createGetQualityPublishedformsEvaluationsRequest(pageSize, pageNumber, name, onlyLatestPerContext)); } /** * Get the published evaluation forms. * * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @param name Name (optional) * @param onlyLatestPerContext onlyLatestPerContext (optional, default to false) * @return EvaluationFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityPublishedformsEvaluationsWithHttpInfo(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestPerContext) throws IOException { return getQualityPublishedformsEvaluations(createGetQualityPublishedformsEvaluationsRequest(pageSize, pageNumber, name, onlyLatestPerContext).withHttpInfo()); } private GetQualityPublishedformsEvaluationsRequest createGetQualityPublishedformsEvaluationsRequest(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestPerContext) { return GetQualityPublishedformsEvaluationsRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withName(name) .withOnlyLatestPerContext(onlyLatestPerContext) .build(); } /** * Get the published evaluation forms. * * @param request The request object * @return EvaluationFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationFormEntityListing getQualityPublishedformsEvaluations(GetQualityPublishedformsEvaluationsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the published evaluation forms. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationFormEntityListing> getQualityPublishedformsEvaluations(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationFormEntityListing> response = (ApiResponse<EvaluationFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the most recent published version of a survey form. * * @param formId Form ID (required) * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm getQualityPublishedformsSurvey(String formId) throws IOException, ApiException { return getQualityPublishedformsSurvey(createGetQualityPublishedformsSurveyRequest(formId)); } /** * Get the most recent published version of a survey form. * * @param formId Form ID (required) * @return SurveyForm * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> getQualityPublishedformsSurveyWithHttpInfo(String formId) throws IOException { return getQualityPublishedformsSurvey(createGetQualityPublishedformsSurveyRequest(formId).withHttpInfo()); } private GetQualityPublishedformsSurveyRequest createGetQualityPublishedformsSurveyRequest(String formId) { return GetQualityPublishedformsSurveyRequest.builder() .withFormId(formId) .build(); } /** * Get the most recent published version of a survey form. * * @param request The request object * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm getQualityPublishedformsSurvey(GetQualityPublishedformsSurveyRequest request) throws IOException, ApiException { try { ApiResponse<SurveyForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the most recent published version of a survey form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> getQualityPublishedformsSurvey(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get the published survey forms. * * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @param name Name (optional) * @param onlyLatestEnabledPerContext onlyLatestEnabledPerContext (optional, default to false) * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityPublishedformsSurveys(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestEnabledPerContext) throws IOException, ApiException { return getQualityPublishedformsSurveys(createGetQualityPublishedformsSurveysRequest(pageSize, pageNumber, name, onlyLatestEnabledPerContext)); } /** * Get the published survey forms. * * @param pageSize Page size (optional, default to 25) * @param pageNumber Page number (optional, default to 1) * @param name Name (optional) * @param onlyLatestEnabledPerContext onlyLatestEnabledPerContext (optional, default to false) * @return SurveyFormEntityListing * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityPublishedformsSurveysWithHttpInfo(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestEnabledPerContext) throws IOException { return getQualityPublishedformsSurveys(createGetQualityPublishedformsSurveysRequest(pageSize, pageNumber, name, onlyLatestEnabledPerContext).withHttpInfo()); } private GetQualityPublishedformsSurveysRequest createGetQualityPublishedformsSurveysRequest(Integer pageSize, Integer pageNumber, String name, Boolean onlyLatestEnabledPerContext) { return GetQualityPublishedformsSurveysRequest.builder() .withPageSize(pageSize) .withPageNumber(pageNumber) .withName(name) .withOnlyLatestEnabledPerContext(onlyLatestEnabledPerContext) .build(); } /** * Get the published survey forms. * * @param request The request object * @return SurveyFormEntityListing * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyFormEntityListing getQualityPublishedformsSurveys(GetQualityPublishedformsSurveysRequest request) throws IOException, ApiException { try { ApiResponse<SurveyFormEntityListing> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyFormEntityListing>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get the published survey forms. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyFormEntityListing> getQualityPublishedformsSurveys(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyFormEntityListing>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyFormEntityListing> response = (ApiResponse<SurveyFormEntityListing>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get a survey for a conversation * * @param surveyId surveyId (required) * @return Survey * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Survey getQualitySurvey(String surveyId) throws IOException, ApiException { return getQualitySurvey(createGetQualitySurveyRequest(surveyId)); } /** * Get a survey for a conversation * * @param surveyId surveyId (required) * @return Survey * @throws IOException if the request fails to be processed */ public ApiResponse<Survey> getQualitySurveyWithHttpInfo(String surveyId) throws IOException { return getQualitySurvey(createGetQualitySurveyRequest(surveyId).withHttpInfo()); } private GetQualitySurveyRequest createGetQualitySurveyRequest(String surveyId) { return GetQualitySurveyRequest.builder() .withSurveyId(surveyId) .build(); } /** * Get a survey for a conversation * * @param request The request object * @return Survey * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Survey getQualitySurvey(GetQualitySurveyRequest request) throws IOException, ApiException { try { ApiResponse<Survey> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Survey>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get a survey for a conversation * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Survey> getQualitySurvey(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Survey>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Survey> response = (ApiResponse<Survey>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Survey> response = (ApiResponse<Survey>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Get a survey as an end-customer, for the purposes of scoring it. * * @param customerSurveyUrl customerSurveyUrl (optional) * @return ScorableSurvey * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public ScorableSurvey getQualitySurveysScorable(String customerSurveyUrl) throws IOException, ApiException { return getQualitySurveysScorable(createGetQualitySurveysScorableRequest(customerSurveyUrl)); } /** * Get a survey as an end-customer, for the purposes of scoring it. * * @param customerSurveyUrl customerSurveyUrl (optional) * @return ScorableSurvey * @throws IOException if the request fails to be processed */ public ApiResponse<ScorableSurvey> getQualitySurveysScorableWithHttpInfo(String customerSurveyUrl) throws IOException { return getQualitySurveysScorable(createGetQualitySurveysScorableRequest(customerSurveyUrl).withHttpInfo()); } private GetQualitySurveysScorableRequest createGetQualitySurveysScorableRequest(String customerSurveyUrl) { return GetQualitySurveysScorableRequest.builder() .withCustomerSurveyUrl(customerSurveyUrl) .build(); } /** * Get a survey as an end-customer, for the purposes of scoring it. * * @param request The request object * @return ScorableSurvey * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public ScorableSurvey getQualitySurveysScorable(GetQualitySurveysScorableRequest request) throws IOException, ApiException { try { ApiResponse<ScorableSurvey> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<ScorableSurvey>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Get a survey as an end-customer, for the purposes of scoring it. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<ScorableSurvey> getQualitySurveysScorable(ApiRequest<Void> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<ScorableSurvey>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<ScorableSurvey> response = (ApiResponse<ScorableSurvey>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<ScorableSurvey> response = (ApiResponse<ScorableSurvey>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Disable a particular version of a survey form and invalidates any invitations that have already been sent to customers using this version of the form. * * @param formId Form ID (required) * @param body Survey form (required) * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm patchQualityFormsSurvey(String formId, SurveyForm body) throws IOException, ApiException { return patchQualityFormsSurvey(createPatchQualityFormsSurveyRequest(formId, body)); } /** * Disable a particular version of a survey form and invalidates any invitations that have already been sent to customers using this version of the form. * * @param formId Form ID (required) * @param body Survey form (required) * @return SurveyForm * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> patchQualityFormsSurveyWithHttpInfo(String formId, SurveyForm body) throws IOException { return patchQualityFormsSurvey(createPatchQualityFormsSurveyRequest(formId, body).withHttpInfo()); } private PatchQualityFormsSurveyRequest createPatchQualityFormsSurveyRequest(String formId, SurveyForm body) { return PatchQualityFormsSurveyRequest.builder() .withFormId(formId) .withBody(body) .build(); } /** * Disable a particular version of a survey form and invalidates any invitations that have already been sent to customers using this version of the form. * * @param request The request object * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm patchQualityFormsSurvey(PatchQualityFormsSurveyRequest request) throws IOException, ApiException { try { ApiResponse<SurveyForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Disable a particular version of a survey form and invalidates any invitations that have already been sent to customers using this version of the form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> patchQualityFormsSurvey(ApiRequest<SurveyForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Query for evaluation aggregates * * @param body query (required) * @return AggregateQueryResponse * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public AggregateQueryResponse postAnalyticsEvaluationsAggregatesQuery(AggregationQuery body) throws IOException, ApiException { return postAnalyticsEvaluationsAggregatesQuery(createPostAnalyticsEvaluationsAggregatesQueryRequest(body)); } /** * Query for evaluation aggregates * * @param body query (required) * @return AggregateQueryResponse * @throws IOException if the request fails to be processed */ public ApiResponse<AggregateQueryResponse> postAnalyticsEvaluationsAggregatesQueryWithHttpInfo(AggregationQuery body) throws IOException { return postAnalyticsEvaluationsAggregatesQuery(createPostAnalyticsEvaluationsAggregatesQueryRequest(body).withHttpInfo()); } private PostAnalyticsEvaluationsAggregatesQueryRequest createPostAnalyticsEvaluationsAggregatesQueryRequest(AggregationQuery body) { return PostAnalyticsEvaluationsAggregatesQueryRequest.builder() .withBody(body) .build(); } /** * Query for evaluation aggregates * * @param request The request object * @return AggregateQueryResponse * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public AggregateQueryResponse postAnalyticsEvaluationsAggregatesQuery(PostAnalyticsEvaluationsAggregatesQueryRequest request) throws IOException, ApiException { try { ApiResponse<AggregateQueryResponse> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<AggregateQueryResponse>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Query for evaluation aggregates * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<AggregateQueryResponse> postAnalyticsEvaluationsAggregatesQuery(ApiRequest<AggregationQuery> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<AggregateQueryResponse>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<AggregateQueryResponse> response = (ApiResponse<AggregateQueryResponse>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<AggregateQueryResponse> response = (ApiResponse<AggregateQueryResponse>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Query for survey aggregates * * @param body query (required) * @return AggregateQueryResponse * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public AggregateQueryResponse postAnalyticsSurveysAggregatesQuery(AggregationQuery body) throws IOException, ApiException { return postAnalyticsSurveysAggregatesQuery(createPostAnalyticsSurveysAggregatesQueryRequest(body)); } /** * Query for survey aggregates * * @param body query (required) * @return AggregateQueryResponse * @throws IOException if the request fails to be processed */ public ApiResponse<AggregateQueryResponse> postAnalyticsSurveysAggregatesQueryWithHttpInfo(AggregationQuery body) throws IOException { return postAnalyticsSurveysAggregatesQuery(createPostAnalyticsSurveysAggregatesQueryRequest(body).withHttpInfo()); } private PostAnalyticsSurveysAggregatesQueryRequest createPostAnalyticsSurveysAggregatesQueryRequest(AggregationQuery body) { return PostAnalyticsSurveysAggregatesQueryRequest.builder() .withBody(body) .build(); } /** * Query for survey aggregates * * @param request The request object * @return AggregateQueryResponse * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public AggregateQueryResponse postAnalyticsSurveysAggregatesQuery(PostAnalyticsSurveysAggregatesQueryRequest request) throws IOException, ApiException { try { ApiResponse<AggregateQueryResponse> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<AggregateQueryResponse>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Query for survey aggregates * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<AggregateQueryResponse> postAnalyticsSurveysAggregatesQuery(ApiRequest<AggregationQuery> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<AggregateQueryResponse>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<AggregateQueryResponse> response = (ApiResponse<AggregateQueryResponse>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<AggregateQueryResponse> response = (ApiResponse<AggregateQueryResponse>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Create a calibration * * @param body calibration (required) * @param expand calibratorId (optional) * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration postQualityCalibrations(CalibrationCreate body, String expand) throws IOException, ApiException { return postQualityCalibrations(createPostQualityCalibrationsRequest(body, expand)); } /** * Create a calibration * * @param body calibration (required) * @param expand calibratorId (optional) * @return Calibration * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> postQualityCalibrationsWithHttpInfo(CalibrationCreate body, String expand) throws IOException { return postQualityCalibrations(createPostQualityCalibrationsRequest(body, expand).withHttpInfo()); } private PostQualityCalibrationsRequest createPostQualityCalibrationsRequest(CalibrationCreate body, String expand) { return PostQualityCalibrationsRequest.builder() .withBody(body) .withExpand(expand) .build(); } /** * Create a calibration * * @param request The request object * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration postQualityCalibrations(PostQualityCalibrationsRequest request) throws IOException, ApiException { try { ApiResponse<Calibration> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Calibration>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Create a calibration * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> postQualityCalibrations(ApiRequest<CalibrationCreate> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Calibration>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Create an evaluation * * @param conversationId conversationId (required) * @param body evaluation (required) * @param expand evaluatorId (optional) * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation postQualityConversationEvaluations(String conversationId, Evaluation body, String expand) throws IOException, ApiException { return postQualityConversationEvaluations(createPostQualityConversationEvaluationsRequest(conversationId, body, expand)); } /** * Create an evaluation * * @param conversationId conversationId (required) * @param body evaluation (required) * @param expand evaluatorId (optional) * @return Evaluation * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> postQualityConversationEvaluationsWithHttpInfo(String conversationId, Evaluation body, String expand) throws IOException { return postQualityConversationEvaluations(createPostQualityConversationEvaluationsRequest(conversationId, body, expand).withHttpInfo()); } private PostQualityConversationEvaluationsRequest createPostQualityConversationEvaluationsRequest(String conversationId, Evaluation body, String expand) { return PostQualityConversationEvaluationsRequest.builder() .withConversationId(conversationId) .withBody(body) .withExpand(expand) .build(); } /** * Create an evaluation * * @param request The request object * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation postQualityConversationEvaluations(PostQualityConversationEvaluationsRequest request) throws IOException, ApiException { try { ApiResponse<Evaluation> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Evaluation>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Create an evaluation * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> postQualityConversationEvaluations(ApiRequest<Evaluation> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Evaluation>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Score evaluation * * @param body evaluationAndScoringSet (required) * @return EvaluationScoringSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationScoringSet postQualityEvaluationsScoring(EvaluationFormAndScoringSet body) throws IOException, ApiException { return postQualityEvaluationsScoring(createPostQualityEvaluationsScoringRequest(body)); } /** * Score evaluation * * @param body evaluationAndScoringSet (required) * @return EvaluationScoringSet * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationScoringSet> postQualityEvaluationsScoringWithHttpInfo(EvaluationFormAndScoringSet body) throws IOException { return postQualityEvaluationsScoring(createPostQualityEvaluationsScoringRequest(body).withHttpInfo()); } private PostQualityEvaluationsScoringRequest createPostQualityEvaluationsScoringRequest(EvaluationFormAndScoringSet body) { return PostQualityEvaluationsScoringRequest.builder() .withBody(body) .build(); } /** * Score evaluation * * @param request The request object * @return EvaluationScoringSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationScoringSet postQualityEvaluationsScoring(PostQualityEvaluationsScoringRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationScoringSet> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationScoringSet>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Score evaluation * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationScoringSet> postQualityEvaluationsScoring(ApiRequest<EvaluationFormAndScoringSet> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationScoringSet>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationScoringSet> response = (ApiResponse<EvaluationScoringSet>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationScoringSet> response = (ApiResponse<EvaluationScoringSet>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Create an evaluation form. * * @param body Evaluation form (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityForms(EvaluationForm body) throws IOException, ApiException { return postQualityForms(createPostQualityFormsRequest(body)); } /** * Create an evaluation form. * * @param body Evaluation form (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityFormsWithHttpInfo(EvaluationForm body) throws IOException { return postQualityForms(createPostQualityFormsRequest(body).withHttpInfo()); } private PostQualityFormsRequest createPostQualityFormsRequest(EvaluationForm body) { return PostQualityFormsRequest.builder() .withBody(body) .build(); } /** * Create an evaluation form. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityForms(PostQualityFormsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Create an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityForms(ApiRequest<EvaluationForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Create an evaluation form. * * @param body Evaluation form (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityFormsEvaluations(EvaluationForm body) throws IOException, ApiException { return postQualityFormsEvaluations(createPostQualityFormsEvaluationsRequest(body)); } /** * Create an evaluation form. * * @param body Evaluation form (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityFormsEvaluationsWithHttpInfo(EvaluationForm body) throws IOException { return postQualityFormsEvaluations(createPostQualityFormsEvaluationsRequest(body).withHttpInfo()); } private PostQualityFormsEvaluationsRequest createPostQualityFormsEvaluationsRequest(EvaluationForm body) { return PostQualityFormsEvaluationsRequest.builder() .withBody(body) .build(); } /** * Create an evaluation form. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityFormsEvaluations(PostQualityFormsEvaluationsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Create an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityFormsEvaluations(ApiRequest<EvaluationForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Create a survey form. * * @param body Survey form (required) * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm postQualityFormsSurveys(SurveyForm body) throws IOException, ApiException { return postQualityFormsSurveys(createPostQualityFormsSurveysRequest(body)); } /** * Create a survey form. * * @param body Survey form (required) * @return SurveyForm * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> postQualityFormsSurveysWithHttpInfo(SurveyForm body) throws IOException { return postQualityFormsSurveys(createPostQualityFormsSurveysRequest(body).withHttpInfo()); } private PostQualityFormsSurveysRequest createPostQualityFormsSurveysRequest(SurveyForm body) { return PostQualityFormsSurveysRequest.builder() .withBody(body) .build(); } /** * Create a survey form. * * @param request The request object * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm postQualityFormsSurveys(PostQualityFormsSurveysRequest request) throws IOException, ApiException { try { ApiResponse<SurveyForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Create a survey form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> postQualityFormsSurveys(ApiRequest<SurveyForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Create a Keyword Set * * @param body keywordSet (required) * @param expand queueId (optional) * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet postQualityKeywordsets(KeywordSet body, String expand) throws IOException, ApiException { return postQualityKeywordsets(createPostQualityKeywordsetsRequest(body, expand)); } /** * Create a Keyword Set * * @param body keywordSet (required) * @param expand queueId (optional) * @return KeywordSet * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> postQualityKeywordsetsWithHttpInfo(KeywordSet body, String expand) throws IOException { return postQualityKeywordsets(createPostQualityKeywordsetsRequest(body, expand).withHttpInfo()); } private PostQualityKeywordsetsRequest createPostQualityKeywordsetsRequest(KeywordSet body, String expand) { return PostQualityKeywordsetsRequest.builder() .withBody(body) .withExpand(expand) .build(); } /** * Create a Keyword Set * * @param request The request object * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet postQualityKeywordsets(PostQualityKeywordsetsRequest request) throws IOException, ApiException { try { ApiResponse<KeywordSet> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<KeywordSet>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Create a Keyword Set * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> postQualityKeywordsets(ApiRequest<KeywordSet> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<KeywordSet>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Publish an evaluation form. * * @param body Publish request containing id of form to publish (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityPublishedforms(PublishForm body) throws IOException, ApiException { return postQualityPublishedforms(createPostQualityPublishedformsRequest(body)); } /** * Publish an evaluation form. * * @param body Publish request containing id of form to publish (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityPublishedformsWithHttpInfo(PublishForm body) throws IOException { return postQualityPublishedforms(createPostQualityPublishedformsRequest(body).withHttpInfo()); } private PostQualityPublishedformsRequest createPostQualityPublishedformsRequest(PublishForm body) { return PostQualityPublishedformsRequest.builder() .withBody(body) .build(); } /** * Publish an evaluation form. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityPublishedforms(PostQualityPublishedformsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Publish an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityPublishedforms(ApiRequest<PublishForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Publish an evaluation form. * * @param body Publish request containing id of form to publish (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityPublishedformsEvaluations(PublishForm body) throws IOException, ApiException { return postQualityPublishedformsEvaluations(createPostQualityPublishedformsEvaluationsRequest(body)); } /** * Publish an evaluation form. * * @param body Publish request containing id of form to publish (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityPublishedformsEvaluationsWithHttpInfo(PublishForm body) throws IOException { return postQualityPublishedformsEvaluations(createPostQualityPublishedformsEvaluationsRequest(body).withHttpInfo()); } private PostQualityPublishedformsEvaluationsRequest createPostQualityPublishedformsEvaluationsRequest(PublishForm body) { return PostQualityPublishedformsEvaluationsRequest.builder() .withBody(body) .build(); } /** * Publish an evaluation form. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm postQualityPublishedformsEvaluations(PostQualityPublishedformsEvaluationsRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Publish an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> postQualityPublishedformsEvaluations(ApiRequest<PublishForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Publish a survey form. * * @param body Survey form (required) * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm postQualityPublishedformsSurveys(PublishForm body) throws IOException, ApiException { return postQualityPublishedformsSurveys(createPostQualityPublishedformsSurveysRequest(body)); } /** * Publish a survey form. * * @param body Survey form (required) * @return SurveyForm * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> postQualityPublishedformsSurveysWithHttpInfo(PublishForm body) throws IOException { return postQualityPublishedformsSurveys(createPostQualityPublishedformsSurveysRequest(body).withHttpInfo()); } private PostQualityPublishedformsSurveysRequest createPostQualityPublishedformsSurveysRequest(PublishForm body) { return PostQualityPublishedformsSurveysRequest.builder() .withBody(body) .build(); } /** * Publish a survey form. * * @param request The request object * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm postQualityPublishedformsSurveys(PostQualityPublishedformsSurveysRequest request) throws IOException, ApiException { try { ApiResponse<SurveyForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Publish a survey form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> postQualityPublishedformsSurveys(ApiRequest<PublishForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Retrieve the spotability statistic * * @param body Keyword Set (optional) * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet postQualitySpotability(KeywordSet body) throws IOException, ApiException { return postQualitySpotability(createPostQualitySpotabilityRequest(body)); } /** * Retrieve the spotability statistic * * @param body Keyword Set (optional) * @return KeywordSet * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> postQualitySpotabilityWithHttpInfo(KeywordSet body) throws IOException { return postQualitySpotability(createPostQualitySpotabilityRequest(body).withHttpInfo()); } private PostQualitySpotabilityRequest createPostQualitySpotabilityRequest(KeywordSet body) { return PostQualitySpotabilityRequest.builder() .withBody(body) .build(); } /** * Retrieve the spotability statistic * * @param request The request object * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet postQualitySpotability(PostQualitySpotabilityRequest request) throws IOException, ApiException { try { ApiResponse<KeywordSet> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<KeywordSet>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Retrieve the spotability statistic * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> postQualitySpotability(ApiRequest<KeywordSet> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<KeywordSet>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Score survey * * @param body surveyAndScoringSet (required) * @return SurveyScoringSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyScoringSet postQualitySurveysScoring(SurveyFormAndScoringSet body) throws IOException, ApiException { return postQualitySurveysScoring(createPostQualitySurveysScoringRequest(body)); } /** * Score survey * * @param body surveyAndScoringSet (required) * @return SurveyScoringSet * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyScoringSet> postQualitySurveysScoringWithHttpInfo(SurveyFormAndScoringSet body) throws IOException { return postQualitySurveysScoring(createPostQualitySurveysScoringRequest(body).withHttpInfo()); } private PostQualitySurveysScoringRequest createPostQualitySurveysScoringRequest(SurveyFormAndScoringSet body) { return PostQualitySurveysScoringRequest.builder() .withBody(body) .build(); } /** * Score survey * * @param request The request object * @return SurveyScoringSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyScoringSet postQualitySurveysScoring(PostQualitySurveysScoringRequest request) throws IOException, ApiException { try { ApiResponse<SurveyScoringSet> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyScoringSet>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Score survey * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyScoringSet> postQualitySurveysScoring(ApiRequest<SurveyFormAndScoringSet> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyScoringSet>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyScoringSet> response = (ApiResponse<SurveyScoringSet>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyScoringSet> response = (ApiResponse<SurveyScoringSet>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Update a calibration to the specified calibration via PUT. Editable fields include: evaluators, expertEvaluator, and scoringIndex * * @param calibrationId Calibration ID (required) * @param body Calibration (required) * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration putQualityCalibration(String calibrationId, Calibration body) throws IOException, ApiException { return putQualityCalibration(createPutQualityCalibrationRequest(calibrationId, body)); } /** * Update a calibration to the specified calibration via PUT. Editable fields include: evaluators, expertEvaluator, and scoringIndex * * @param calibrationId Calibration ID (required) * @param body Calibration (required) * @return Calibration * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> putQualityCalibrationWithHttpInfo(String calibrationId, Calibration body) throws IOException { return putQualityCalibration(createPutQualityCalibrationRequest(calibrationId, body).withHttpInfo()); } private PutQualityCalibrationRequest createPutQualityCalibrationRequest(String calibrationId, Calibration body) { return PutQualityCalibrationRequest.builder() .withCalibrationId(calibrationId) .withBody(body) .build(); } /** * Update a calibration to the specified calibration via PUT. Editable fields include: evaluators, expertEvaluator, and scoringIndex * * @param request The request object * @return Calibration * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Calibration putQualityCalibration(PutQualityCalibrationRequest request) throws IOException, ApiException { try { ApiResponse<Calibration> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Calibration>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Update a calibration to the specified calibration via PUT. Editable fields include: evaluators, expertEvaluator, and scoringIndex * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Calibration> putQualityCalibration(ApiRequest<Calibration> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Calibration>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Calibration> response = (ApiResponse<Calibration>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Update an evaluation * * @param conversationId conversationId (required) * @param evaluationId evaluationId (required) * @param body evaluation (required) * @param expand evaluatorId (optional) * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation putQualityConversationEvaluation(String conversationId, String evaluationId, Evaluation body, String expand) throws IOException, ApiException { return putQualityConversationEvaluation(createPutQualityConversationEvaluationRequest(conversationId, evaluationId, body, expand)); } /** * Update an evaluation * * @param conversationId conversationId (required) * @param evaluationId evaluationId (required) * @param body evaluation (required) * @param expand evaluatorId (optional) * @return Evaluation * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> putQualityConversationEvaluationWithHttpInfo(String conversationId, String evaluationId, Evaluation body, String expand) throws IOException { return putQualityConversationEvaluation(createPutQualityConversationEvaluationRequest(conversationId, evaluationId, body, expand).withHttpInfo()); } private PutQualityConversationEvaluationRequest createPutQualityConversationEvaluationRequest(String conversationId, String evaluationId, Evaluation body, String expand) { return PutQualityConversationEvaluationRequest.builder() .withConversationId(conversationId) .withEvaluationId(evaluationId) .withBody(body) .withExpand(expand) .build(); } /** * Update an evaluation * * @param request The request object * @return Evaluation * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public Evaluation putQualityConversationEvaluation(PutQualityConversationEvaluationRequest request) throws IOException, ApiException { try { ApiResponse<Evaluation> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<Evaluation>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Update an evaluation * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<Evaluation> putQualityConversationEvaluation(ApiRequest<Evaluation> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<Evaluation>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<Evaluation> response = (ApiResponse<Evaluation>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Update an evaluation form. * * @param formId Form ID (required) * @param body Evaluation form (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm putQualityForm(String formId, EvaluationForm body) throws IOException, ApiException { return putQualityForm(createPutQualityFormRequest(formId, body)); } /** * Update an evaluation form. * * @param formId Form ID (required) * @param body Evaluation form (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> putQualityFormWithHttpInfo(String formId, EvaluationForm body) throws IOException { return putQualityForm(createPutQualityFormRequest(formId, body).withHttpInfo()); } private PutQualityFormRequest createPutQualityFormRequest(String formId, EvaluationForm body) { return PutQualityFormRequest.builder() .withFormId(formId) .withBody(body) .build(); } /** * Update an evaluation form. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm putQualityForm(PutQualityFormRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Update an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> putQualityForm(ApiRequest<EvaluationForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Update an evaluation form. * * @param formId Form ID (required) * @param body Evaluation form (required) * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm putQualityFormsEvaluation(String formId, EvaluationForm body) throws IOException, ApiException { return putQualityFormsEvaluation(createPutQualityFormsEvaluationRequest(formId, body)); } /** * Update an evaluation form. * * @param formId Form ID (required) * @param body Evaluation form (required) * @return EvaluationForm * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> putQualityFormsEvaluationWithHttpInfo(String formId, EvaluationForm body) throws IOException { return putQualityFormsEvaluation(createPutQualityFormsEvaluationRequest(formId, body).withHttpInfo()); } private PutQualityFormsEvaluationRequest createPutQualityFormsEvaluationRequest(String formId, EvaluationForm body) { return PutQualityFormsEvaluationRequest.builder() .withFormId(formId) .withBody(body) .build(); } /** * Update an evaluation form. * * @param request The request object * @return EvaluationForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public EvaluationForm putQualityFormsEvaluation(PutQualityFormsEvaluationRequest request) throws IOException, ApiException { try { ApiResponse<EvaluationForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<EvaluationForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Update an evaluation form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<EvaluationForm> putQualityFormsEvaluation(ApiRequest<EvaluationForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<EvaluationForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<EvaluationForm> response = (ApiResponse<EvaluationForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Update a survey form. * * @param formId Form ID (required) * @param body Survey form (required) * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm putQualityFormsSurvey(String formId, SurveyForm body) throws IOException, ApiException { return putQualityFormsSurvey(createPutQualityFormsSurveyRequest(formId, body)); } /** * Update a survey form. * * @param formId Form ID (required) * @param body Survey form (required) * @return SurveyForm * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> putQualityFormsSurveyWithHttpInfo(String formId, SurveyForm body) throws IOException { return putQualityFormsSurvey(createPutQualityFormsSurveyRequest(formId, body).withHttpInfo()); } private PutQualityFormsSurveyRequest createPutQualityFormsSurveyRequest(String formId, SurveyForm body) { return PutQualityFormsSurveyRequest.builder() .withFormId(formId) .withBody(body) .build(); } /** * Update a survey form. * * @param request The request object * @return SurveyForm * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public SurveyForm putQualityFormsSurvey(PutQualityFormsSurveyRequest request) throws IOException, ApiException { try { ApiResponse<SurveyForm> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<SurveyForm>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Update a survey form. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<SurveyForm> putQualityFormsSurvey(ApiRequest<SurveyForm> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<SurveyForm>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<SurveyForm> response = (ApiResponse<SurveyForm>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Update a keywordSet to the specified keywordSet via PUT. * * @param keywordSetId KeywordSet ID (required) * @param body keywordSet (required) * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet putQualityKeywordset(String keywordSetId, KeywordSet body) throws IOException, ApiException { return putQualityKeywordset(createPutQualityKeywordsetRequest(keywordSetId, body)); } /** * Update a keywordSet to the specified keywordSet via PUT. * * @param keywordSetId KeywordSet ID (required) * @param body keywordSet (required) * @return KeywordSet * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> putQualityKeywordsetWithHttpInfo(String keywordSetId, KeywordSet body) throws IOException { return putQualityKeywordset(createPutQualityKeywordsetRequest(keywordSetId, body).withHttpInfo()); } private PutQualityKeywordsetRequest createPutQualityKeywordsetRequest(String keywordSetId, KeywordSet body) { return PutQualityKeywordsetRequest.builder() .withKeywordSetId(keywordSetId) .withBody(body) .build(); } /** * Update a keywordSet to the specified keywordSet via PUT. * * @param request The request object * @return KeywordSet * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public KeywordSet putQualityKeywordset(PutQualityKeywordsetRequest request) throws IOException, ApiException { try { ApiResponse<KeywordSet> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<KeywordSet>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Update a keywordSet to the specified keywordSet via PUT. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<KeywordSet> putQualityKeywordset(ApiRequest<KeywordSet> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<KeywordSet>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<KeywordSet> response = (ApiResponse<KeywordSet>)(ApiResponse<?>)(new ApiException(exception)); return response; } } /** * Update a survey as an end-customer, for the purposes of scoring it. * * @param body survey (required) * @param customerSurveyUrl customerSurveyUrl (optional) * @return ScorableSurvey * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public ScorableSurvey putQualitySurveysScorable(ScorableSurvey body, String customerSurveyUrl) throws IOException, ApiException { return putQualitySurveysScorable(createPutQualitySurveysScorableRequest(body, customerSurveyUrl)); } /** * Update a survey as an end-customer, for the purposes of scoring it. * * @param body survey (required) * @param customerSurveyUrl customerSurveyUrl (optional) * @return ScorableSurvey * @throws IOException if the request fails to be processed */ public ApiResponse<ScorableSurvey> putQualitySurveysScorableWithHttpInfo(ScorableSurvey body, String customerSurveyUrl) throws IOException { return putQualitySurveysScorable(createPutQualitySurveysScorableRequest(body, customerSurveyUrl).withHttpInfo()); } private PutQualitySurveysScorableRequest createPutQualitySurveysScorableRequest(ScorableSurvey body, String customerSurveyUrl) { return PutQualitySurveysScorableRequest.builder() .withBody(body) .withCustomerSurveyUrl(customerSurveyUrl) .build(); } /** * Update a survey as an end-customer, for the purposes of scoring it. * * @param request The request object * @return ScorableSurvey * @throws ApiException if the request fails on the server * @throws IOException if the request fails to be processed */ public ScorableSurvey putQualitySurveysScorable(PutQualitySurveysScorableRequest request) throws IOException, ApiException { try { ApiResponse<ScorableSurvey> response = pcapiClient.invoke(request.withHttpInfo(), new TypeReference<ScorableSurvey>() {}); return response.getBody(); } catch (ApiException | IOException exception) { if (pcapiClient.getShouldThrowErrors()) throw exception; return null; } } /** * Update a survey as an end-customer, for the purposes of scoring it. * * @param request The request object * @return the response * @throws IOException if the request fails to be processed */ public ApiResponse<ScorableSurvey> putQualitySurveysScorable(ApiRequest<ScorableSurvey> request) throws IOException { try { return pcapiClient.invoke(request, new TypeReference<ScorableSurvey>() {}); } catch (ApiException exception) { @SuppressWarnings("unchecked") ApiResponse<ScorableSurvey> response = (ApiResponse<ScorableSurvey>)(ApiResponse<?>)exception; return response; } catch (Throwable exception) { if (pcapiClient.getShouldThrowErrors()) { if (exception instanceof IOException) { throw (IOException)exception; } throw new RuntimeException(exception); } @SuppressWarnings("unchecked") ApiResponse<ScorableSurvey> response = (ApiResponse<ScorableSurvey>)(ApiResponse<?>)(new ApiException(exception)); return response; } } }
java
// this is generated. #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![allow(dead_code)] #![allow(unused_imports)] #![allow(unused_parens)] use std::ffi::c_void; extern crate va_list; use super::*; #[repr(C)] #[derive(Clone, Copy)] pub struct SDL_Keysym { pub scancode: i32, pub sym: i32, pub r#mod: u16, pub unused: u32, } #[link(name = "SDL2", kind = "static")] extern "C" { pub fn SDL_GetKeyboardFocus() -> *mut SDL_Window; /// * numkeys: pub fn SDL_GetKeyboardState( numkeys: *mut i32, ) -> *mut u8; pub fn SDL_GetModState() -> i32; /// * modstate: pub fn SDL_SetModState( modstate: i32, ) -> c_void; /// * scancode: pub fn SDL_GetKeyFromScancode( scancode: i32, ) -> i32; /// * key: pub fn SDL_GetScancodeFromKey( key: i32, ) -> i32; /// * scancode: pub fn SDL_GetScancodeName( scancode: i32, ) -> *mut i8; /// * name: pub fn SDL_GetScancodeFromName( name: *const i8, ) -> i32; /// * key: pub fn SDL_GetKeyName( key: i32, ) -> *mut i8; /// * name: pub fn SDL_GetKeyFromName( name: *const i8, ) -> i32; pub fn SDL_StartTextInput() -> c_void; pub fn SDL_IsTextInputActive() -> i32; pub fn SDL_StopTextInput() -> c_void; /// * rect: pub fn SDL_SetTextInputRect( rect: *mut SDL_Rect, ) -> c_void; pub fn SDL_HasScreenKeyboardSupport() -> i32; /// * window: pub fn SDL_IsScreenKeyboardShown( window: *mut SDL_Window, ) -> i32; }
rust
<gh_stars>1-10 { "name": "contracts", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "truffle test --config ../truffle-config.js", "compile": "truffle compile --config ../truffle-config.js", "migrate": "truffle migrate --reset --config ../truffle-config.js", "start": "npm run compile && npm run migrate" }, "author": "", "license": "ISC", "dependencies": { "@openzeppelin/contracts": "^4.3.0" } }
json
@import '~antd/dist/antd.css'; @import '~rsuite/dist/styles/rsuite.css'; /*@import '~react-owl-carousel2/style.css';*/ body { margin: 0; padding: 0; height: 100%; width: 100%; font-family: sans-serif; /*background-color: #08244A;*/ font-size: 12px; }
css
Grayson Waller has made a name for himself with his trash talk and brash attitude. The Superstar from Down Under has no thought about limits while giving a piece of his mind to anybody. What started with just trying to rattle WWE Superstars has shifted to a certain global icon. Recently, the Australian superstar took a dig at NFL player Travis Kelce and probably the biggest female singer in the world, Taylor Swift. Kelce and Swift are rumored to be dating. Speaking on that situation, Grayson Waller took a dig at the globally renowned singer. While many may be stunned by Grayson Waller's move, this could be a master plan from Endeavor and WWE. In recent years, WWE has brought Logan Paul and Bad Bunny to the company to increase their following among non-wrestling audiences. The company could bring in Kelce and Swift for a short-term deal for a mega event. This could bring Swift's mammoth fan following to the company, similar to Bunny. We could see her in a managerial capacity. Kelce would join the list of NFL players to make it into the squared circle. The Show of Shows is just around six months away, and it looks like Grayson Waller wants to book himself on the card much in advance. It also looks like he has already found his audience for the event. Speaking on WWE's The Bump, Grayson Waller challenged NFL star Travis Kelce. The Australian wrestler has challenged the NFL star in a match for Taylor Swift and her fans' honor. "Well, it is funny that he is #12, because that is the age of the emotional maturity of most Swiftie fans. I've heard Travis Kelce is a wrestling fan, right? So hey, we are in Philly [Philadelphia] for WrestleMania next year lad, why don't you come and get in the ring to defend her honor? Like, he seems like such a good guy. Why don't you come and say something to me about it lad?" Waller said. If this did happen, WWE would pull off a stunner by bringing new fans into the product. Taylor Swift and Travis Kelce appearing on WWE TV would add to the list of celebs like Mr. T, Bad Bunny, Snoop Dogg, Floyd Mayweather, Pat McAfee, and many more.
english
வைரலாகும் பிரபல நடிகையின் பிகினி புகைப்படங்கள் ! Poonam Bajwa introduces her boyfriend - trending romantic pictures here! Bigg Boss fame celebrities grace wedding of GV Prakash's Kuppathu Raja producer! HOT Deleted Scene From Kuppatthu Raja Is Out! New Comedy Video From GV Prakash's Kuppathu Raja! GV Prakash - Yogi Babu Comedy Video From Kuppathu Raja! New Intense Video From GV Prakash's Kuppathu Raja! Yogi Babu Comedy Video From GV Prakash's Kuppatthu Raja! Trailer Release : குப்பத்து ராஜாவாக களமிறங்கும் ஜீ. வி. பிரகாஷ் ! Watch the racy Kuppathu Raja trailer here! Check Out Balayya's Epic NTR Biopic Trailer Here!
english
Who is wise and understanding among you? By his good conduct let him show his works in the meekness of wisdom. But if you have bitter jealousy and selfish ambition in your hearts, do not boast and be false to the truth. This is not the wisdom that comes down from above, but is earthly, unspiritual, demonic. For where jealousy and selfish ambition exist, there will be disorder and every vile practice.
english
Disneyland Resort has announced plans to throw a Pixar party next spring that will bring some of cinema's most beloved animated characters from films like Toy Story, Monsters, Inc. , Finding Nemo and Up to California. Billed as the biggest Pixar celebration for Disney Parks, Pixar Fest will see characters like Woody, Buzz Lightyear, Nemo, Dory, Sully, Mike Wazowski, Russell and Carl Fredericksen rub elbows, fur-bows and fins with Mickey and Minnie Mouse. A new fireworks show and film projection against iconic landmarks like the Sleeping Beauty Castle and the facades of Main Street USA will celebrate Pixar stories and friendships, while a Pixar Play Parade will march through the park. During the festival, a collection of Pixar Shorts including For the Birds and LAVA will be screened at the Sunset Showcase Theater at Disney California Adventure. Pixar Fest opens April 13, 2018 for a limited run.
english
{ "DisabledTests": [ "# Following test is related to ticket EXSWCPHIPT-41", "Unit_hipStreamGetPriority_happy", "Unit_hipStreamPerThread_DeviceReset_1" ] }
json
<div class="program-block"> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-6"> <div class="program emerge" data-effect="relax" data-duration="500"> <div class="program__overlay"></div> <div class="program__title">Медицинская реабилитация</div><hr> <div class="row"> <div class="col-xs-12 col-sm-12"> <div class="program__info"> <div class="program__info__title">Курсы восстановления утраченных функций после:</div> <ul> <li><a class="program__info__link" href="../../about.html">эндопротезирования тазобедренного сустава</a></li> <li><a href="" class="program__info__link">эндопротезирования коленного сустава</a></li> <li><a href="" class="program__info__link">эндопротезирования плечевого сустава</a></li> <li><a href="" class="program__info__link">эндопротезирования локтевого сустава</a></li> <li><a href="" class="program__info__link">травм и операций на позвоночнике</a></li> <li><a href="" class="program__info__link">травм и операций на нижней конечности</a></li> <li><a href="" class="program__info__link">травм и операций на верхней конечности</a></li> </ul> <div class="row margin__md"> <div class="pull-left"> <div class="h2">Всего 7 курсов</div> </div> <div class="h2 pull-right">от 4 000 ₽</div> </div> </div> </div><!-- col12 --> </div><!-- /row --> </div><!-- /programs-item__header --> </div><!-- /col6 --> <div class="col-xs-12 col-sm-6"> <div class="program--second program emerge" data-effect="relax" data-duration="500"> <div class="program__overlay program__overlay--second"></div> <div class="program__title">Оздоровление</div><hr> <div class="row"> <div class="col-xs-12 col-sm-12"> <div class="program__info"> <div class="program__info__title">Поддержание имеющихся функций на необходимом для человека уровне</div> <ul> <li><a class="program__info__link" href="../../programs-item.html">эндопротезирования тазобедренного сустава</a></li> <li><a href="" class="program__info__link">эндопротезирования коленного сустава</a></li> <li><a href="" class="program__info__link">эндопротезирования плечевого сустава</a></li> <li><a href="" class="program__info__link">эндопротезирования локтевого сустава</a></li> <li><a href="" class="program__info__link">травм и операций на позвоночнике</a></li> <li><a href="" class="program__info__link">травм и операций на нижней конечности</a></li> <li><a href="" class="program__info__link">травм и операций на верхней конечности</a></li> </ul> <div class="row margin__md"> <div class="pull-left"> <div class="h2">Всего <a class="program__info__link" href="#">17 курсов</a></div> </div> <div class="h2 pull-right">от 2 000 ₽</div> </div> </div> </div><!-- col12 --> </div><!-- /row --> </div><!-- /programs-item__header --> </div><!-- /col6 --> </div><!-- /row --> </div><!-- /container --> </div><!-- /programs-item -->
html
package com.tarashor.mvc_mvp_mvvm_android.datasource; import com.tarashor.mvc_mvp_mvvm_android.data.Dao; import com.tarashor.mvc_mvp_mvvm_android.data.Item; public class DatabaseDatasource implements DataSource { private static volatile DatabaseDatasource INSTANCE; private final Dao mDao; // Prevent direct instantiation. private DatabaseDatasource() { mDao = Dao.getInstance(); } public static DatabaseDatasource getInstance() { if (INSTANCE == null) { synchronized (DatabaseDatasource.class) { if (INSTANCE == null) { INSTANCE = new DatabaseDatasource(); } } } return INSTANCE; } @Override public void getItems(LoadItemsCallback callback) { if (callback != null) { if (mDao != null && mDao.getItems() != null) { callback.onTasksLoaded(mDao.getItems()); } else { callback.onDataNotAvailable(); } } } @Override public void saveItem(Item item) { if (mDao != null){ mDao.insertItem(item); } } @Override public void removeItem(Item removedItem) { if (mDao != null){ mDao.removeItem(removedItem); } } }
java
<reponame>cangqiong/SimpleSearchEngine<gh_stars>0 package com.bigdata.downloader.handler; import java.util.Map; import java.util.Map.Entry; import org.ansj.app.keyword.Keyword; /** * 计算余弦相似度<br> * 有a向量[x1,y1],b向量[x2,y2]<br> * 公式:cosθ=(x1*x2+y1*y2)/sqrt(x1*x1+y1*y1)*sqrt(x2*x2 +y2*y2) * * @author Cang * */ public class CosineSimilarity { /** * * @param totalKeyWord * @param pageVector * @return */ private static double sqrtMulti(Map<String, Keyword> totalKeyWord, Map<String, Keyword> pageVector) { double result = 0; result = Math.sqrt(squares(totalKeyWord) * squares(pageVector)); return result; } /** * 求平方和 * * @param totalKeyWord * @return */ private static double squares(Map<String, Keyword> totalKeyWord) { double result = 0; for (Keyword word : totalKeyWord.values()) { result += Math.pow(word.getScore(), 2); } return result; } /** * 点乘法 * * @param totalKeyWord * @param pageVector * @return */ private static double pointMulti(Map<String, Keyword> totalKeyWord, Map<String, Keyword> pageVector) { double result = 0; for (Entry<String, Keyword> e : totalKeyWord.entrySet()) { Keyword word = pageVector.get(e.getKey()); if (word == null) { continue; } else { result += e.getValue().getScore() * word.getScore(); } } return result; } /** * 计算余弦相似度 * * @param totalKeyWord * @param pageVector * @return */ public static double count(Map<String, Keyword> totalKeyWord, Map<String, Keyword> pageVector) { double result = 0; result = pointMulti(totalKeyWord, pageVector) / sqrtMulti(totalKeyWord, pageVector); return result; } }
java
A strong magnitude-7.9 earthquake shook Nepal’s capital and the densely populated Kathmandu Valley before noon today, causing extensive damage with toppled walls and collapsed buildings, officials said. Dozens of people with injuries were being brought to the main hospital in central Kathmandu. There was no immediate estimate on fatalities. Several buildings collapsed in the centre of the capital, including centuries-old temples, said resident Prachanda Sual. He said he saw people running through the streets in panic. Ambulance sirens blared and government helicopters hovered overhead. National radio has warned people to stay outdoors because more aftershocks are feared. Old Kathmandu city is a warren of tightly packed, narrow lanes with poorly constructed homes piled on top of each other. The epicenter was 80 kilometers (49 mile) northwest of Kathmandu. The Kathmandu Valley is densely populated with nearly 2.5 million, with the quality of buildings often poor. The US Geological Survey revised the magnitude from 7.5 to 7.9 and said the quake hit at 11:56 am local time (11:41 IST) at Lamjung a shallow depth of 11 kilometers. Mohammad Shahab, a resident from Lahore, Pakistan, said he was sitting in his office when the earthquake rocked the city near the border with India.
english
The Bahujan Samaj Party (BSP) has been in steady electoral decline for the last decade. It swept Uttar Pradesh in 2007 , securing 30. 43 per cent of the popular vote, but it lost to the Samajwadi Party (SP) in 2012, polling only 25. 91 per cent. Similarly, in the general election in 2009, its 27. 4 per cent translated into 20 Lok Sabha MPs; by 2014, it was down to 19. 6 per cent and no seats. In these 10 years, the BSP’s upper caste vote — assiduously cultivated in the run-up to 2007 through its ‘bhaichara sammelans’ and promise of restoring law and order — melted away. Worse, by 2014, Mayawati’s core constituency of Dalits began to shrink, lured away by the Bharatiya Janata Party (BJP). As the BSP spiralled downwards, a galaxy of senior leaders, many hand-picked by party founder Kanshi Ram, either left or were thrown out of the party. They included Babu Singh Kushwaha, R. K. Chowdhury, Swami Prasad Maurya, Jugal Kishore, Dara Singh Chauhan and Brajesh Pathak. Barring Mr. Pathak who belongs to the Brahmin community, the rest belong to most backward castes. Now only two of Ms. Mayawati’s old lieutenants — Naseemuddin Siddiqui and Satish Mishra — remain, while old faithful Ambeth Rajan continues in the wings. However, unlike those who left the party, those who remain do not command much of a following even in their own communities. BSP insiders say the original party structure has virtually been dismantled. They point to the need to urgently rebuild the organisation, groom new leaders, and frame a credible political message. Till the 2007 polls, Ms. Mayawati herself held regular workers’ meetings, impervious to inclement weather. In power (2007-2012), she had her hands full with administration. But her growing dependence on her lieutenants and coterie of civil servants saw her growing increasingly isolated from the rank and file. The distance grew as she gradually became accustomed to a more lavish lifestyle. The only change in the party has been in the modernisation of communication. The BSP, which once scoffed at the media, began to vigorously use social media platforms. But this was not enough for Ms. Mayawati’s supporters as she was rarely sighted till about six months back. It is against this bleak backdrop that two events that took place in 2016 provide signs of hope for the BSP. The first was the Dalit uprising in Gujarat. The assault on Dalits in Una that reverberated through the country did not just remind Dalits of their essential condition, but also provided Ms. Mayawati the opportunity to regain her vote base ahead of the Assembly elections. BSP cadres hit the streets in protest, even as a video capturing the horrifying details of a violent upper caste attack on Dalit cow-skinners in Una began to circulate. After Una and the public meetings condemning the derogatory remarks made about Ms. Mayawati by the subsequently expelled BJP member Daya Shankar Singh, her core Dalit vote has returned. The rallies that she has held in the last six months, though few in number, have been very well-attended. The second event has been the continuing Yadav family feud in the SP that has presented the Muslims, constituting 18 per cent of the State’s population, with a dilemma: their first choice is the SP, and their target is to defeat the BJP, but can a divided SP do that? If the feud does not end, the BSP could be the beneficiary. Ms. Mayawati has therefore been wooing the Muslims, underscoring the SP’s deep divide at public meetings. Last week, she asked senior BSP leaders to make the electorate aware that the feud did not augur well for the State’s development. To get the message across more clearly, she has nominated 97 Muslim candidates and 106 candidates from the OBC community, a section that had almost wholesale abandoned the BSP in 2014. By comparison, Dalits have been given just 87 seats. Only two candidates are left to be declared. It is clear that Ms. Mayawati is working on a plan. But being belated, will it be enough?
english
PARIS (Reuters) - Former Superbike world champion Sylvain Guintoli will make a MotoGP comeback at his home French Grand Prix this month as replacement for injured Suzuki rider Alex Rins, the team said on Thursday. The race at Le Mans is on May 21 and Suzuki said the experienced 34-year-old would stand in until Spanish rookie Rins could return. Rins broke his right ankle while training on a motocross bike in March and was then ruled out of last month's Grand Prix of the Americas in Texas after crashing heavily in final practice and fracturing his left wrist. The Japanese manufacturer said Guintoli, whose last full season in MotoGP was with Ducati in 2008 although he made a one-off return in Germany in 2011, was a natural choice. "Not only he has been Superbike World Champion in 2014, but he also already has experience in MotoGP, and he is already a Suzuki rider," the team said in a statement. Guintoli is currently competing in the British Superbike Championship, which does not clash with MotoGP. (Reporting by Alan Baldwin in London, editing by Amlan Chakraborty)
english
Ranbir Kapoor is the son of actors Rishi Kapoor and Neetu Singh. Rishi, who passed away in April 2020, had a tumultuous relationship with his son but over the years, they worked on their relationship and grew closer. Ranbir has often spoken about the influence his father had on him and his career, and has credited him with instilling a love for cinema and acting. On the professional front, Ranbir Kapoor starrer Tu Jhoothi Main Makkaar alongside Shraddha Kapoor released in March 2023. The film is directed by Luv Ranjan, produced by Luv Films’, Luv Ranjan and Ankur Garg, and presented by T- Series’ Bhushan Kumar. Ranbir also has Animal in the pipeline alongside Rashmika Mandanna, Anil Kapoor and Bobby Deol. Helmed by Sandeep Reddy Vanga, the film is set for August 2023 release. Catch us for latest Bollywood News, New Bollywood Movies update, Box office collection, New Movies Release , Bollywood News Hindi, Entertainment News, Bollywood Live News Today & Upcoming Movies 2024 and stay updated with latest hindi movies only on Bollywood Hungama.
english
__author__ = 'dave' from django.shortcuts import render def ajax(request, ajax_code): return render(request=request, template_name="hes/ajax/%s.html" % ajax_code, context={}) def coming_soon(request): return render(request=request, template_name="hes/coming-soon.html", context={})
python
import LogoIcon from './logoIcon'; import AdviceIcon from './adviceIcon'; export { AdviceIcon, LogoIcon, };
javascript
Garena Free Fire Winter Fest Event: Garena Free Fire introduces a brand new Winter Fest event for the players. Players always wait for these kinds of events. The event has begun on 17th December 2021. In this event, players will get the winter-themed items for free in Free Fire. So, let’s know more about the Garena Free Fire Winter Fest Event. Garena Free Fire Winter Fest Event: Garena announces a spin the wheel event every now and then. Earlier today they introduces Garena Free Fire Winter Fest Event where players can try their luck and get amazing winter-themed items for free. Players can get guaranteed gun skin or costume after every 10 spins. Basically, this event is a luck-based event. Gamers have to depend on their luck as they have to spin the wheel. They have to spend diamonds for each spin. Thereafter, they have to spin the wheel. Their luck will determine the outcome of the spin and Players will get rewards. To participate, players have to visit the luck royale section first. Thereafter, they have to open the Winter Fest section. Now, they can participate in the event. There are more events already lined up. So, stay tuned for more details. Meanwhile, You can check out our other stories.
english
<gh_stars>0 import json import logging import os from itertools import chain import numpy as np from eurito_indicators import PROJECT_DIR from eurito_indicators.getters.arxiv_getters import get_arxiv_articles from eurito_indicators.pipeline.text_processing import make_engram, pre_process TOK_PATH = f"{PROJECT_DIR}/inputs/data/arxiv_tokenised.json" def arxiv_tokenise(): if os.path.exists(TOK_PATH) is True: logging.info("Already tokenised data") else: logging.info("Reading data") arxiv_articles = get_arxiv_articles().query("article_source!='cord'") # Remove papers without abstracts arxiv_w_abst = arxiv_articles.dropna(axis=0, subset=["abstract"]) # Shuffle articles arxiv_w_abst = arxiv_w_abst.sample(frac=1) logging.info("Cleaning and tokenising") arxiv_tokenised = [ pre_process(x, count=n) for n, x in enumerate(arxiv_w_abst["abstract"]) ] half_arx = int(len(arxiv_tokenised) / 2) logging.info("Making ngrams") ngrammed = [] for mini_arx in [arxiv_tokenised[:half_arx], arxiv_tokenised[half_arx:]]: logging.info("Extracting ngrams") sample_ngram = make_engram(mini_arx, n=3) ngrammed.append(sample_ngram) all_ngrams = chain(*ngrammed) # Turn into dictionary mapping ids to token lists out = {i: t for i, t in zip(arxiv_w_abst["article_id"], all_ngrams)} logging.info("Saving") with open(TOK_PATH, "w") as outfile: json.dump(out, outfile) if __name__ == "__main__": arxiv_tokenise()
python
The web monitoring firm also showed there were more than 150 incidents of people reporting issues with Microsoft Office 365. Microsoft Corp said on Wednesday it was investigating an outage where users were unable to access Microsoft Teams or leverage any features on the app, but did not disclose details on how many users were affected. However, there were more than 4,800 incidents of people reporting issues with Microsoft Teams at about 10 p. m. ET, according to Downdetector. com, which tracks outages by collating status reports from sources including user-submitted errors on its platform. The web monitoring firm also showed there were more than 150 incidents of people reporting issues with Microsoft Office 365 . Other big technology companies have also been hit by outages in the past year, with a near six-hour disruption at Meta Platforms (META. O) keeping WhatsApp, Instagram and Messenger out of reach for billions of users last October.
english
Francisco Oropeza was identified as the suspect in the mass shooting in Cleveland, Texas, on Friday evening. Currently, a manhunt is underway for the 38-year-old male. The police described the shooting as “execution style” and said that the suspect was armed with an AR-15 style rifle. According to reports, the suspect and the victims were neighbors and the shooting was as a result of an altercation. Who is Francisco Oropeza? Francisco Oropeza is a 38-year-old Mexican national who has been identified as the suspect in the fatal shooting of five people at a home in Cleveland – a town 55 miles from Houston, Texas. A judge has issued an arrest warrant for Oropeza, setting a $5 million bond. It is believed that Oropeza may have fled the scene on foot or on a bicycle, and law enforcement officials suspect that he is currently within a two-mile radius of the area. “My understanding is that the victims, they came over to the fence and said ‘Hey could [you not do your] shooting out in the yard? We have a young baby that’s trying to go to sleep,” and he had been drinking and he says ‘I’ll do what I want to in my front yard,'” San Jacinto County Sheriff Greg Capers said.
english
Mumbai, Feb 17 (IANS) Table tennis umpire S. Sridhar was on Wednesday selected to represent India at the 2016 Rio Olympics in August. He had also represented India at the 2014 Incheon Asian Games and 2014 Glasgow Commonwealth Games. He is the only Indian table tennis umpire to officiate in all three events. Sridhar, secretary to Dena Bank CMD, is a Blue Badge international umpire who has officiated in more than 10 World Championships.
english
Which Newlands deck will turn up for India? Over the past few years, Test matches at Newlands have barely stuck to a single narrative: there have been run-fests, bizarre days of pace-bowling mayhem, and spinners getting wickets by the bucketload. As India take on South Africa in the first Test this week, we look at three recent Tests at the venue and the starkly contrasting ways in which they unfolded. England 629 for 6 dec (Stokes 258, Bairstow 150*) and 159 for 6 (Bairstow 30*, Piedt 3-38) drew with South Africa 627 for 7 dec (Amla 201, Bavuma 102*) At the end of the fourth day of this Test, only 13 wickets had fallen and 1272 runs had been amassed. South Africa were fielding a weakened bowling attack, without Dale Steyn and Kyle Abbott. England's middle order took them apart, putting together the first ever 600-plus first innings total on South African soil. By the time England were asked to bat again on the evening of day four, the match seemed to be headed for a tame draw. Then, offspinner Dane Piedt ran through their middle order on the final morning. For a while, it looked like a deja vu of Adelaide 2006, before Jonny Bairstow played out the final hour. Ben Stokes was Man of the Match for his 258, but it was Bairstow - unbeaten in the Test with an aggregate 180 runs - who ensured that South Africa did not complete a remarkable comeback. It's a sunny day two morning of a Test match in South Africa. "Play out the first hour", "see out the fast bowlers early on" are some commonly heard refrains. In 2013, though, with Pakistan's opening bowlers having failed to provide a breakthrough, Saeed Ajmal came on to bowl in just the 12th over. By the end of his 17th, he had a five-for, with a list of victims that read: Graeme Smith, Alviro Petersen, Hashim Amla, Faf du Plessis and Jacques Kallis. While Ajmal's spell was among the few moments in the Test match Pakistan rattled South Africa, the wicket had something in it for everyone. Younis Khan, Asad Shafiq and Robin Peterson all played solid knocks in the first innings, before Steyn and Philander inflicted lethal damage on the fourth day. And just when you thought you had seen everything, Peterson went on to pick up three wickets, exploiting the deteriorating pitch in Pakistan's second innings. Ajmal then had South Africa's top order in knots briefly, completing his ten-for on the fourth-day pitch, before AB de Villiers and Dean Elgar saw the hosts home. ESPNcricinfo's preview for this Test predicted that the Newlands pitch "offered hope to both the pace bowlers via plenty of grass, but also the spinners thanks to a prominent bare patch at one end". The previous two Tests at the ground had been tightly contested draws, with the likes of Graeme Swann and Harbhajan Singh making good use of the assistance on offer in the second innings. Nothing, not even the eight-wicket first day could guarantee the mayhem that would unravel on the second day. Twenty three wickets fell, and 18 batsmen were dismissed for single-digit scores. First, South Africa were skittled for 96, then Australia found themselves 21 for 9 in their second innings, threatening the all-time record for the lowest total in Test cricket, only for Nathan Lyon to save them the embarrassment. Ample seam movement, inordinate bounce off a good length and some loose shots all contributed to a bizarre day of Test cricket. As if none of this had happened, Hashim Amla and Graeme Smith put on 195 in the fourth innings - the highest partnership of the match - to take South Africa to an eight-wicket win.
english
Retail investors are investing in stocks, mutual funds, Infrastructure Investment Trusts (InvITs), and real estate. Learn the best investment options. Traditionally, Indian households love to invest in a wide range of physical assets and precious metals (gold, silver, real estate, etc. ). Over the last few years, retail investors have started investing more in stocks and other financial assets in addition to precious metals and real estate. Before exploring why stock market investment is increasing and which are the best investment options currently, let’s check some data. According to India Wealth Report's 9th edition by Karvy Private Wealth, the financial asset proportion in the total individual wealth of Indians increased from 58. 48% in FY17 to 60. 2% in FY18. According to Karvy Private Wealth's CEO, Abhijit Bhave, this proportion will jump to 67. 98% by FY23. Why is this shift happening? In this article, we will explore which investment is best. We’ll also compare real estate vs mutual funds, stock market investment, and Infrastructure Investment Trusts (InvITs). Let’s get started with our comparative study. The stock market is considered one of the best wealth generators. In the last 8 years (2014 to 2021), the Indian stock market return has hovered between 5. 56% and 31. 26% (except for 2019). The average stock market return during 1984-2021 was 19. 7%. In 2021, the return was 21. 5%. The expectation of high returns is one of the reasons why stock market participation has jumped in recent years. In the last two and half years, around 60 million demat accounts were opened in India. During 2020-21 (the pandemic-stricken year), 14. 2 million new individual investors joined the stock market. Two major reasons for this optimism are: As stock market investment has high volatility, the risk of making losses is also high. That's why beginners in this market usually end up making losses. Many investors have unrealistic expectations too. If you are a risk-averse person, there may be better investment options than stock market investment. To learn more on private equity industry in India, check this. In India, the growth rate of the mutual fund industry is around 40%. Experts believe that it will increase by 30% by the end of 2022 alone. According to estimates, the total number of registered mutual fund investors will be around 1. 88 crores in 2022. In the last 3 years, 5 years, and 10 years, the average annual return of mutual funds in India was 7. 8%, 6. 3%, and 6. 5%, respectively. However, the average yearly return of large-cap funds in the last 10 years is 13. 36%. If you are interested in investing in mutual funds, you can expect a 9-to-15% return in the long run (at least 5 years). Mutual funds are risky assets. So, it would help to be cautious before investing in mutual funds. It is currently (especially since the outbreak of the Covid-19 pandemic) an underperforming asset class. During 2001-2007, real estate investment doubled every 3-to-5 years. It gave an annual return of 30% during this period. However, in the last ten years, yearly real estate investment returns have come down to 10%. Most experts believe that the days of extraordinary real estate returns are over. Infrastructure Investment Trusts (InvITs) Infrastructure Investment Trusts (InvITs) have become very popular among people. It is because more people are looking for comparatively safer options that provide a higher return than low-yielding bonds. InvITs are low-risk and highly regulated financial products. They are governed by one of the strongest frameworks in the world, SEBI’s (Infrastructure Investment Trusts) Regulations, 2014. The leading Infrastructure Investment Trusts (including IRB InvIT, IndiGrid, Indinfravit, etc. ) have AAA ratings from ICRA, CRISIL, and India Ratings. When compared to NSE 500, Indigrid InvIT's beta value is 0. 22x. It also indicates the low-risk potential of InvITs. There are fifteen SEBI-registered InvITs currently. They provide a return of 8-10% annually return. Reports say that some of the returns provided are in double digits too. They are: With the Indian government emphasizing more on infrastructure, the prospects of Infrastructure Investment Trusts (InvITs) will improve. The Union Government has proposed ₹ 10 trillion expenditure in infrastructure investment in Budget 2022-23. In terms of outlays, year-on-year investment in roads and railways has increased by more than 50%. Some of these recent announcements have made Infrastructure Investment Trusts more lucrative in India. InvITs (Infrastructure Investment Trusts) are the best investment options when you compare them with real estate vs mutual funds and stock market investment. This is because they provide you with an annual return significantly higher than the ongoing inflation of over 6%. Unlike stocks, real estate, and mutual funds, Infrastructure Investment Trusts are low-risk assets. Disclaimer: This article is intended for general information purposes only and should not be construed as investment or legal advice. You should separately obtain independent advice when making decisions in these areas. Reference:
english
Eight times this season, Sam Burns has been atop the leaderboard after every round except the one that mattered. That changed, finally, at the Valspar Championship. Burns got some help from Keegan Bradley hitting into the water on the 13th hole, and then the 24-year-old from Louisiana took it from there with two big birdies that led to a 3-under 68 and a three-shot victory on Sunday. Burns won for the first time on the PGA Tour after twice failing to convert 54-hole leads in the Houston Open last fall and the Genesis Invitational at Riviera in February. The victory moves him into the top 50 in the world and all but assures a spot in the U.S. Open, along with his first trip to the Masters next spring. Burns was wiping away tears when he tapped in for a meaningless bogey on the final hole, especially to see his wife, parents and other family members pour onto the green to celebrate the moment with him.
english
The rape of a 27-Year-Old Woman by a Cab Driver on Saturday night in the National Capital garnered Nation's attention. Reportedly, The victim who works for a Finance Company in Gurgoan (Delhi) has attended a Dinner with a group of friends after completing her work at 7 pm. A friend of her dropped her till Vasant Vihar and she hired a cab from there to take her to Inderlok. She felt asleep on the way and the cab driver tried to take advantage of the situation. When the victim woke up, She found herself in an isolated place with all the car door locked. She tried to raise an alarm but the driver overpowered her. He had beaten up her and committed the rape. Later, The victim was dropped at her home and threatened to kill her if she complains about the incident to anyone. Before the Cab Driver could flee from the spot, The Victim clicked a photo of the Car's number plate and lodged a complaint. She was sent to medical examination and rape has been confirmed. Cases under sections 376 (rape), 323 (voluntarily causing hurt) and 506 (criminal intimidation) of IPC have been registered against the accused. Cops were in search of the Cab Driver who has been absconding.
english
export * from "./dashboard"; export * from "./grid"; export * from "./list"; export * from "./object_home"; export * from "./notifications"; export * from './favorites'; export * from './select_users' export * from './template_flows_modal' export * from './grid_modal' export * from './flows_tree_modal' export * from './header_profile' export * from './404' export * from './loading' export * from './page' export * from './illustration' export * from './icon' export * from './button' export * from './steedos_form' export * from './steedos_grid' export * from './steedos_object_listview'
javascript
Under the scheme, the government will offer comfortable, crowd-free, air-conditioned app-based CNG and electric bus transport services in Delhi. In a bid to motivate people, especially those commuting to work every day, to ditch their private vehicles and choose public transport, the Delhi government on Saturday notified a draft scheme to run an intra-city premium buses service by engaging private bus operators who will charge demand-based fares. A transport department official, requesting anonymity, said that with the notification of the draft Delhi Motor Vehicles Licensing of Aggregator (Premium Buses) Scheme, 2023, and its release in the public domain for suggestions and objections, the government has moved a step close to launching the scheme. The official added that the fare for these buses will not be regulated by the government. Under the scheme, the government will offer comfortable, crowd-free, air-conditioned app-based CNG and electric bus transport services in the Capital. HT has seen a copy of the draft scheme. The draft scheme will be taken into consideration on or after 30 days with the objections, suggestions, or feedback received. According to the draft scheme, the premium bus fare will be based on a dynamic pricing mechanism, where the fare may be higher during peak hours. As part of the measures to ensure the safety of women passengers, bus operators will provide a rapid response mechanism, including a panic button on the mobile and web-based app, for prompt redressal of complaints, the draft scheme said. The scheme also said that bus operators cannot cancel a trip after accepting the hire charges from a passenger and in case of an emergency, the operator will have to provide an alternative vehicle or refund the fare paid by passengers without deduction. The operator has been permitted to determine the fare of the bus which will be displayed on the mobile and web-based application for the information of the general public. The fare will be higher than the fare of Delhi Transport Corporation (DTC) buses in alignment with the premium service. This apart, bus operators will also display details of the driver including his photograph, license number, passenger service vehicle badge number (issued by the transport department after verification), and registration mark of the vehicle, along with transport and police helpline numbers prominently inside the bus. The buses to be engaged in service should not be more than three years old, the draft scheme said, adding that buses must have a live-tracking system, two CCTVs in each bus, and an emergency request button. The booking details of these buses will also be available on the transport department’s “One Delhi” app to discover buses/routes, book rides and make payments, according to the draft scheme. According to the draft scheme, every bus operator will have to maintain a fleet of at least 50 buses and must launch the operations within 90 days from the date of issuance of the licence. The government will neither procure the buses nor play any role in their operations but will provide the licence to eligible operators. To ensure that the bus operators do not violate the norms the government will ask for a list of all vehicles, proof of adequate parking spaces available for the vehicles, fitness certificates of the buses, and install CCTVs in the buses. A second official said that the app will have a feature to increase the efficacy of the complaints redressal mechanism and enhance the safety of passengers. “The bus operators will have to incorporate a feature on the app to facilitate complaints, if any. The license holder will submit a summary of complaints along with clarification/explanation to the transport authorities every month,” said the second official. Earlier this month the Delhi government approved the draft scheme and sent it to lieutenant governor VK Saxena for approval. The objections and suggestions can be sent to the transport commissioner at 5/9 Under Hill Road, Delhi -110054 or commtpt@nic. in or tptassta@gmail. com. Despite the expansion of the Metro service, Delhi’s buses are the city’s most popular form of public transport, with around 3. 5 million people using the system every day. In comparison, the daily average ridership of the Delhi Metro is 4. 5 million. Currently, the Capital has around 7,200 buses under DTC and the cluster scheme. The state government aims to increase the strength of the fleet to 11,000 and to ensure that 80% of all public buses in Delhi are electric by 2025. Between 2000 and 2012, Delhi used to have Whiteline buses that provided connectivity between fixed points in the city, as well as between Delhi and Noida. They were private buses that ran under the government mandate, had a fixed route, and were popular among office commuters. “Whiteline buses were stage carriage buses, which means they stopped at every stop on the identified routes. Initially, there were around 700 Whiteline buses which got discontinued due to various reasons, including low profit,” said a Delhi transport department official. “The app-based premium buses will be more flexible and personalised. These buses can potentially reduce congestion, improve efficiency, and offer quality and convenience to both captive and choice riders,” said Amit Bhatt, managing director, India of the International Council on Clean Transportation.
english
The Brihanmumbai Municipal Corporation (BMC) has selected Tata Consulting Engineers to design and oversee its ambitious Central Park project in Cuffe Parade. The consultant will design the park, a waterway and jetty, and help secure the necessary permissions. It will also create a viability report, detailed project report and a tender document. “The project will cost Rs. 3.87 crore. A proposal has been tabled before the standing committee, and is likely to come up for discussion next week,” said a statement issued by the BMC. The BMC plans to develop the 300-acre park in Cuffe Parade on the lines of New York’s Central Park. The project was first mooted during the Development Plan (DP) revision process and was retained in the new DP. The park will require reclamation of land, which will be done using debris from the Metro construction or other work in the city. The park will have lawns, jogging tracks, a waterway and a children’s play area. The Maritime Board has also proposed a jetty for fishermen’s boats. The BMC had appointed the National Institute of Oceanography and the National Environmental Engineering Research Institute (NEERI) to study the park’s environmental impact. The agencies are expected to submit a report next year. When the park was first proposed, fisherfolk had voiced their concerns about it and even threatened to protest if it went through. Citizens had asked for the need to have the park in South Mumbai which already has a lot of open spaces. Many citizens had questioned the need to develop an open space through reclamation of land. The BMC had maintained that the park would be a welcome addition to open spaces in the city.
english
I have been an Apple loyalist since early 2014 when I acquired my first iPhone; a hand-me-down iPhone 5S. My dad wanted to venture into the “experimental” world of a high-end Android, and I was sick of my own Android device, and so this was handed over to me. My iPhone 5S served me well. I fell in love with the photo quality, the audio, the Notes app, and the general ease of use of the product. I am a journalist and found myself replacing a regular camera and dictaphone for the iPhone. It became a one-stop workstation. When it conked out, I felt the need to replace it with another iPhone. The 7 was out at the time, and since I had the money (these things happen!), I bought it. The key reasons for me to buy the new iPhone were – the previous one conked out, faith in the brand, and having the means to acquire a new one. The 7 is a beauty, the photos and video quality once again are great and I love the slo-mo. The Voice Memo sound quality works well for my thoughts and interviews and the Notes app is fantastic for scribbling a few quick ones. Of course, one needs to invest in a good power bank (the less said of battery life the better), but if you have that, it can almost replace a laptop. Oh yes, I said it – read my type! I have filed a number of stories from it. And I see myself as an Apple loyalist in the near future. I saw the new Apple phone launch event on the Livestream. I have held the new iPhone XS Max in my hands, and have read the reviews, and chatted with my friends about it. The new fast A12 Bionic processor is great, the bigger screen looks wonderful and the photo quality seems to have improved as well. The new emoji features are silly but cute. The phone itself feels too big for my tiny hands, but they say it’s easy to get used to. Right? Well, I’m not interested in buying one. My simple reason for it is that I just don’t need it. And I don’t think I am ever going to spend this kind of money to own a phone. Owning a phone is in many ways, similar to owning a car or a bike. The machine, over time, becomes intuitive to its owner’s habits. With some, the intuition comes easy, and with others it doesn’t. I have used a number of brands of phone – starting with a basic Nokia 1100 to a fancier smartphone version of the same brand, a mid-end HTC and a Blackberry before finally making the switch to the iPhone. I loved Nokia and Blackberry, both sturdy, reliable products. But the iPhone and I had an instant compatibility. Once I started using it, I knew this was probably the only brand I would go for. No, I will not say I am surprised at the price of the new iPhones (starting from Rs 99,900, although the XR will come with a Rs 76,900 tag when it is released). The pricing of all iPhones is generally steep. Apple as a brand in general has the uncanny ability to set the tone for what a premium phone is going to look like. I spent about Rs 60,000 to get the iPhone 7, and have been satisfied with the product (I file stories on it. Going by my own personal satisfaction, and considering my livelihood heavily depends on a phone, I would be willing to spend this kind of money again for a phone. However, a lakh (Rs 1,00,000) is a bit much though. And while I am sure Apple would have some rationale for their pricing, I will happily engage in jokes about XS being called the “Excess”. I don’t see myself wanting to buy this one, unless my current one conks out and the prices drop considerably. No, this does not mean I am moving over to the Droid side. I follow a brand, and will always be loyal to those who have served me well. But my desire for a quality product does not make me salivate at every new product the brand I admire launches. Especially when its older avatars are doing just fine (did I tell you that I file stories on the iPhone 7?) The XS, as of now, does seem excessive, price wise. Now, show me the XR, please.
english
[{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"user","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":959611},{"stateMutability":"view","type":"function","name":"voting_balances","inputs":[{"name":"user","type":"address"}],"outputs":[{"name":"wallet","type":"uint256"},{"name":"vault","type":"uint256"},{"name":"bancor","type":"uint256"},{"name":"balancer","type":"uint256"},{"name":"uniswap","type":"uint256"},{"name":"sushiswap","type":"uint256"},{"name":"makerdao","type":"uint256"},{"name":"unit","type":"uint256"}],"gas":959020}]
json
<filename>steps/petition-progress-bar/sections/dnIsRefused/PetitionProgressBar.dnIsRefused.template.html {% from "look-and-feel/components/progress-list.njk" import progressList %} {{ progressList({ one: { label: content.youApply, complete: true }, two: { label: content.husbandWifeMustRespond, complete: true }, three: { label: content.getDecreeNisi, current: true }, four: { label: content.madeFinal } }) }} <h2 class="govuk-heading-m">{{ content.dnIsRefusedTitle }}</h2> <p class="govuk-body">{{ content.dnIsRefusedReviewOfCase }}</p> <p class="govuk-body">{{ content.dnIsRefusedContinueWithApplication | safe }}</p> <h2 class="govuk-heading-m">{{ content.dnIsRefusedCourtFeedback }}</h2> <div class="govuk-inset-text court-feedback"> {% set order = ["noJurisdiction", "noCriteria", "insufficentDetails", "other"] %} {% for key in order %} {% if case.refusalRejectionReason|length %} {% if key in case.refusalRejectionReason %} <h3 class="govuk-heading-s">{{ content.dnIsRefusedRefusalCourtFeedback[key].title }}</h3> {% if key != "other" %} <p class="govuk-body">{{ content.dnIsRefusedRefusalCourtFeedback[key].description | safe }}</p> {% endif %} {% if key == "other" %} <p class="govuk-body">"{{ case.refusalRejectionAdditionalInfo }}"</p> {% if case.refusalRejectionAdditionalInfoWelsh %} <p class="govuk-body">"{{ case.refusalRejectionAdditionalInfoWelsh }}"</p> {% endif %} {% endif %} {% endif %} {% endif %} {% endfor %} </div> <p class="govuk-body">{{ content.dnIsRefusedDownloadAndKeep | safe }}</p> <h2 class="govuk-heading-m">{{ content.dnIsRefusedDoNext }}</h2> <p class="govuk-body">{{ content.dnIsRefusedDivorceToContinue | safe }}</p> <p class="govuk-body">{{ content.dnIsRefusedSentToDivorceWho }}</p> <form action="{{ postUrl | default(path if path else url) }}" method="post" class="form"> <input role="button" draggable="false" class="govuk-button govuk-button--start" type="submit" value="{{ content.continue }}"> </form>
html
Saturday mornings for Lakshmi Manchu and daughter Vidya are all about 'coffee, hot chocolate and workout' "Saturday mornings with my baby girl. Started the day with some coffee and hot chocolate followed by a quick workout. Love our early mornings together," wrote Lakshmi in her caption. Lakshmi Manchu is a fitness enthusiast – we are already aware of that. But who knew that Lakshmi, on Saturday, will share a fresh dollop of motivation on her Instagram profile with her daughter Vidya Nirvana Manchu Anand! The fitness routine of the mother-daughter duo is making our hearts melt as well as inspiring us to get into our gym shoes. On Saturday morning, Lakshmi shared a set of pictures of herself with Vidya and gave us a glimpse of how their Saturday morning looks like. Weekends are here and hence, the mother-daughter scooped out some time from their schedule to spend some time with each other. Their quality time involves three things – coffee, hot chocolate and a quick workout. In the pictures, Lakshmi and Vidya can be seen engrossed in performing a workout routine together. Dressed in a black jacket and a printed pair of gym trousers, Lakshmi can be seen performing squats with her hands stretched Infront of her and wearing the boxing gloves. Beside Lakshmi, her daughter Vidya can be seen dressed in a white tee shirt and a pair of soft blue trousers and imitating her mother. "Saturday mornings with my baby girl. Started the day with some coffee and hot chocolate followed by a quick workout. Love our early mornings together," wrote Lakshmi in her caption. We are loving the snippet as well. And so is Rakul Preet Singh, who dropped by to comment, "So happy seeing this," and added a red heart emoticon. Take a look: Squats, as performed by Lakshmi and Vidya in the pictures, come with multiple health benefits. They help in developing the core muscles and strengthening the body. They also help in shedding off the extra fat faster and enhancing the agility. Development of the muscles and hence, reducing the risk of injuries. Is also one of the other benefits of performing squats regularly.
english
/*------------------------- Simple reset --------------------------*/ *{ margin:0; padding:0; } /*------------------------- Main Area --------------------------*/ #cursors{ position:relative; z-index:999; } #cursors .cursor{ position:absolute; width:65px; height:22px; color:#fff; padding-left:6px; background:url('../images/pointer.png') no-repeat -4px 0; } .pen-cursor { cursor:url(../images/cursor/pen.png),auto !important; } .drag-cursor { cursor:all-scroll !important; } #checkboxClients { width: 160px; height: 170px; overflow:auto; padding:5px; border: 1px dotted #000; display: block; position: fixed; right: 5px; top: 240px; } #toolContainer { width: 160px; height: auto; min-height:100px; padding:5px; border: 1px dotted #000; display: block; position: fixed; right: 5px; top: 50px; } .writeMap { background-image: none; }
css
Ramadhan, the Month of God (4) Welcome to the 4th episode of Ramadhan, the Month of God. Let us start the day with recitation of the special supplication for the 4th of Ramadhan: Many hadiths have been narrated from the Prophet of Islam and His Infallible Household on the merits of the blessed month of Ramadhan. Imam Ali Zain al-Abedin (AS), the Fourth Infallible Heir of Prophet Mohammad (SAWA), says in a special supplication for Ramadhan, "O God! Inspire us to recognize its merit and majesty of its respect. " Cognizance of the merits of Ramadhan means real recognition of this month, so as not to lose the precious moments of worship in it. The Almighty Creator has ordained this month for purification of the self so that we wash our spirit in the fresh flowing stream of Ramadhan to cleanse our spirit and soul of sins and impurities. The Prophet of Islam says, "If the servants knew what exists in Ramadhan, they would certainly wish the entire year to be Ramadhan. " No doubt, one of the highest merits of blessed Ramadhan is the enlightenment of the heart of the Prophet with the holy Qur'an in a single night of this month. Imam Ja'far Sadeq (AS) states, "The Qur'an in its entirety was sent down to the noble Prophet on the Night of Qadr; then during the 23 years of his mission it was gradually revealed (on Divine Commandment as per the circumstances). " The merits of the month of Ramadhan are countless. The Prophet’s 8th Infallible Heir, Imam Reza (AS), says: "Good deeds are accepted in Ramadhan; evil deeds are forgiven in it; whoever reads one ayah of the Book of God it is as if he reads the whole Qur'an in other months. The month of Ramadhan is the month of blessing, mercy, forgiveness, repentance, and returning to the Divine Court. He who is not forgiven in the month of Ramadhan, when will he be forgiven? So ask God to accept your fasting, and not decree it as the last year of your life, grant you the sense to obey Him and prevent you from disobeying him. Indeed, God is the Best of those entreated. " Another merit of the blessed month of Ramadhan is that God has prevented the devils from deceiving and misleading the believers as they are put in chains during this month. That's why human spirit finds more ease and he/she can enjoy this golden opportunity for spiritual growth. God has commanded His servants to refrain from eating, drinking and enjoying certain lawful pleasures during the daylight hours of this month in order to grant them priceless rewards in lieu of it. The Divine Banquet not only multiplies the acts of worships but also the sleep of the fasting person and his/her breathing are also considered as acts of worship. No other month of the year has been granted such a merit. Once a person succeeds in controlling his/her carnal desires, he/she can raise the soul to attain spiritual purity and reach God's proximity. If a person intends to remove barriers to growth one by one, the blessed month of Ramadhan is the best opportunity as it harnesses the instinctive motives of the physical body. This will lead to piety and Godwariness. The holy Qur'an stresses this point in ayah 183 of surah Baqara, "O you who have faith! Prescribed for you is fasting, as it was prescribed for those before you, so that you may be Godwary. " Imam Reza (AS) was asked about the merits and blessings of Ramadhan. He answered, "Indeed, people are commanded to fast so that they understand the pain and hardship of hunger and thirst; and visualize the hardships of hunger and thirst on the Day of Judgment, as the Prophet had said in his famous sermon on the advent of Ramadhan: While fasting, visualize the hunger and thirst of the Day of Judgement. This could make us prepare for Judgment Day. The Prophet of Islam gives good tidings to the faithful, saying, "The first part of Ramadhan is mercy, the middle of it is forgiveness and the end of it is deliverance from hell. " Ramadhan seems to be passing quickly. Rather we are hastily passing by it. It is we who should take heed of our deeds and thoughts to make the best use of this meritorious month. The blessed month of Ramadhan is the best chance for self-building and self-reform. One of the key points for self-building is to abstain from useless talk. Silence is a treasure which opens the gates of cognizance in the heart. Keeping silent is highly recommended in Ramadhan as it prevents the fasting person from backbiting, lying, gossiping, slandering and so on. The Prophet of Islam was once passing through a lane when he overheard a woman insulting her maidservant, while observing a recommended fast. The Messenger of Mercy asked for some food and placed it before the woman, saying, "Eat. " The woman said, "O Messenger of God! I am fasting. " The Prophet said, "How are you fasting while you are insulting your maidservant? " Then he continued, "Fasting is not just to avoid eating and drinking. How small is the number of fasters and how big is the number of the hungry! ! ! " Loqman the Sage, advised his son, "Dear son! Whenever you think that talking is silver, do know that silence is gold. " Keeping silence and speaking little is a bounty that we may have paid less attention to. Imam Reza (AS) says, "Silence is one of the signs of deep understanding, forbearance and knowledge. Indeed, silence is one of the doors of wisdom. It brings about love and guides towards every goodness. " The Prophet of Islam also states, "Thinking for one hour is better than 70 years of worship. " Other narrations describe silence as a good helper, a proper guardian and a great treasure. Teachers of ethics stress that no one can attain high levels of self-building except through controlling the tongue. Some have enumerated 70 sins that an unbridled tongue commits.
english
<filename>src/events/index.js<gh_stars>10-100 const handleInteraction = require('./interactions'); const {showBotPresence} = require('./ready'); const {onReaction} = require('./reactions'); /** * * @param {*} client */ function handleEvents(client) { /** * ON Client ready */ client.on('ready', ()=>showBotPresence(client) ); /** * On interaction created */ client.on('interactionCreate', (interaction) => handleInteraction(interaction, client), ); // When users react to messages client.on('messageReactionAdd', onReaction); } module.exports = { handleEvents, };
javascript
Hrithik Roshan and Sussanne Kha’s son Hridhaan just won the gold medal in long jump at his school’s annual competition. That’s not all – the kid also bagged the silver medal in the relay race and the family could not be more proud of him. Hrithik Roshan and wife Sussanne Khan may have gone their separate ways but they continue to be extremely good friends. Be it Hrithik’s birthday, the New Year celebrations or a fun time with their kids Hrehaan Roshan and Hridhaan Roshan, we have seen Hrithik and Sussanne together on these special occasions. Despite their divorce, Hrithik and Sussanne have managed to stay good friends. Many congratulations to Hridhaan for this big win!
english
package models; import java.awt.Graphics2D; import java.awt.Point; import java.awt.RenderingHints; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.LinkedList; import javax.imageio.ImageIO; public class Soldier extends Sprite { private LinkedList<Direction> path; private int currentStep; Tile anchor; public Soldier(int strength, int hp, int defense, int speed, Point position, LinkedList<Direction>path, Tile anchor){ super(strength, hp, defense, speed, position); this.path = path; this.currentStep = 0; this.anchor = anchor; //loadImages(); } public void dump(){ System.out.printf("\nSoldier\n------\nX: %d\nY: %d\nStrength: %d\nHP: %d\nDefense: %d\nDirection: %s\n", position.x,position.y,strength,hp,defense,getDirection()); } public Direction getStep(){ Direction step = path.get(currentStep); currentStep = (currentStep + 1) % path.size(); return step; } public Tile getAnchor(){ return this.anchor; } private void loadImages(){ try { spriteSheet = ImageIO.read(new File("Assets/soldierSpriteSheet.png")); extractSprites(); } catch (IOException e) { e.printStackTrace(); spriteSheet = null; } } private void extractSprites(){ BufferedImage img = spriteSheet.getSubimage(48, 0, 48, 48); lookingBackward = new BufferedImage(40,40,BufferedImage.TYPE_INT_ARGB); scaleImage(img, lookingBackward); img = spriteSheet.getSubimage(48, 48, 48, 48); lookingForward = new BufferedImage(40,40,BufferedImage.TYPE_INT_ARGB); scaleImage(img, lookingForward); img = spriteSheet.getSubimage(48, 96, 48, 48); lookingLeft = new BufferedImage(40,40,BufferedImage.TYPE_INT_ARGB); scaleImage(img, lookingLeft); img = spriteSheet.getSubimage(48, 144, 48, 48); lookingRight = new BufferedImage(40,40,BufferedImage.TYPE_INT_ARGB); scaleImage(img, lookingRight); } private void scaleImage(BufferedImage toScale, BufferedImage scaled){ Graphics2D gfx = scaled.createGraphics(); gfx.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); gfx.drawImage(toScale, 0, 0, scaled.getWidth(), scaled.getHeight(), null); gfx.dispose(); } }
java
package main import ( "encoding/base64" "encoding/json" "flag" "fmt" "log" "os" "github.com/xorrior/xpcutil/pkg/xpc" ) type XpcMan struct { xpc.Emitter conn xpc.XPC logger *log.Logger servicename string } func New(service string, privileged int) *XpcMan { x := &XpcMan{logger: log.New(os.Stdout, fmt.Sprintf("%s>", service), log.Lshortfile|log.LstdFlags), Emitter: xpc.Emitter{}} x.Emitter.Init() x.conn = xpc.XpcConnect(service, x, privileged) return x } func (x *XpcMan) XpcManLog(msg string) { if x.logger != nil { x.logger.Println(msg) } } func (x *XpcMan) HandleXpcEvent(event xpc.Dict, err error) { if err != nil { x.XpcManLog(fmt.Sprintf("error: %s", err.Error())) if event == nil { return } } // marshal the xpc.Dict object to raw, indented json and print it raw, err := json.Marshal(event) if err != nil { x.XpcManLog(fmt.Sprintf("error: %s", err.Error())) return } x.XpcManLog(fmt.Sprintf("%s\n", string(raw))) return } // Author: @xorrior, @raff func main() { // Main function // Declare command line args command := flag.String("command", "", "Command to execute. Avalable commands:\n list: List all available services \n send: Send data to a target service \n start: start a service\n stop: stop a service\n submit: Submit a launchd job \n load: Load a plist file with launchd \n unload: Unload a plist file \n procinfo: Obtain process information for a given pid \n status: Obtain status information about a given service \n listen: Create an xpc service and listen for connections [Not Implemented]") serviceName := flag.String("service", "", "Service name/ Bundle ID for xpc service to target.\n When using the submit sub command, the serviceName will be used for the label.") program := flag.String("program", "", "command to execute with the submit sub command") keepalive := flag.Bool("keepalive", false, "keep the program alive. Used with the submit sub command") file := flag.String("file", "", "Path to the plist file for the load/unload commands") pid := flag.Int("pid", 0, "Target process ID for process info") data := flag.String("data", "", "Base64 encoded json data to send to the target service") privileged := flag.Bool("privileged", false, "If set to true the XPC_CONNECTION_MACH_SERVICE_PRIVILEGED flag will be used when connecting to the service") flag.Parse() switch *command { case "list": // List the available services buy sending an xpc message to launchd if len(*serviceName) == 0 { response := xpc.XpcLaunchList("") response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) //fmt.Printf("Result: \n %+v\n", response) } else { response := xpc.XpcLaunchList(*serviceName) response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) //fmt.Printf("Result: \n %+v\n", response) } break case "start": if len(*serviceName) == 0 { fmt.Println("missing service name") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { response := xpc.XpcLaunchControl(*serviceName, 1) response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) } break case "stop": if len(*serviceName) == 0 { fmt.Println("missing service name") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { response := xpc.XpcLaunchControl(*serviceName, 0) response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) } break case "load": if len(*file) == 0 { fmt.Println("Missing file argument") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { response := xpc.XpcLaunchLoadPlist(*file) response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) } break case "unload": if len(*file) == 0 { fmt.Println("Missing file argument") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { response := xpc.XpcLaunchUnloadPlist(*file) response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) } break case "status": if len(*serviceName) == 0 { fmt.Println("missing service name") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { response := xpc.XpcLaunchStatus(*serviceName) response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) } break case "procinfo": if *pid == 0 { fmt.Println("missing target pid") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { response := xpc.XpcLaunchProcInfo(*pid) fmt.Println(response) } break case "send": if len(*data) == 0 || len(*serviceName) == 0 { fmt.Println("Missing data or service name to send") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { base64DecodedSendData, err := base64.StdEncoding.DecodeString(*data) if err != nil { fmt.Println("Error decoding data: ", err.Error()) break } data := xpc.Dict{} err = json.Unmarshal(base64DecodedSendData, &data) if err != nil { fmt.Println("Error in Unmarshal to deserialize data: ", err.Error()) break } var m *XpcMan if *privileged { m = New(*serviceName, 1) } else { m = New(*serviceName, 0) } m.logger.Println("Sending data to xpcservice: ", *serviceName) m.conn.Send(data, false) break } break case "submit": if len(*serviceName) == 0 { fmt.Println("missing service name") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else if len(*program) == 0 { fmt.Println("missing program") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() } else { var k int if *keepalive { k = 1 } else { k = 0 } response := xpc.XpcLaunchSubmit(*serviceName, *program, k) response = response.(xpc.Dict) raw, err := json.MarshalIndent(response, "", " ") if err != nil { fmt.Println("Error serializing golang object ", err.Error()) } fmt.Printf("%s\n", string(raw)) } break default: fmt.Println("Missing command") fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) flag.PrintDefaults() break } }
go
{ "repositories": [ { "url": "<EMAIL>:emit-sds/emit-main.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit-sds/emit-utils.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit/emit-ios.git", "tag": "master", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit/emit-l0edp.git", "tag": "master", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit-sds/emit-sds-l0.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit-sds/emit-sds-l1a.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "<EMAIL>:flex-data-compression/EMIT_FLEX_codec.git", "tag": "master", "conda_env": "emit-main" }, { "url": "<EMAIL>:aviris/NGIS_Check_Line_Frame.git", "tag": "emit-sds", "conda_env": "emit-check-line-frame" }, { "url": "<EMAIL>:emit-sds/emit-sds-l1b.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit-sds/emit-sds-l1b-geo.git", "tag": "develop", "conda_env": "/home/smyth/conda-local-envs/geocal-20210511" }, { "url": "<EMAIL>:emit-sds/emit-sds-l2a.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "https://github.com/isofit/isofit.git", "tag": "master", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit-sds/emit-sds-l2b.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit-sds/emit-sds-l3.git", "tag": "develop", "conda_env": "emit-main" }, { "url": "<EMAIL>:emit-sds/emit-sds-l4.git", "tag": "develop", "conda_env": "emit-main" } ] }
json
const main = function(options) { if (!isItemPage(window)) return; const id = getStoryId(window); if (!id) return; const url = getStoryUrl(document); if (!url) return; if (url === document.location.href) return; const _class = '_hn-duplicate-detector_a76f7b9e-469f-4369-82fb-b99ecda7919a'; for (const e of [...document.getElementsByClassName(_class)]) { e.parentElement.removeChild(e); } getStories(window, url).then(function(stories) { // remove current page from stories stories = stories.filter(function(story) {return story.id !== id}); // remove stories with zero comments if (options.omitZeroComments) { stories = stories.filter(function(story) {return story.num_comments > 0}); } // sort stories by date (newest first) stories.sort(function(a, b){return b.date - a.date}); for (const story of stories) { addDuplicateLink(document, story, _class); } }, function(error) { console.log(error); }); }; chrome.storage.local.get(['options'], function(result) { if (!result.options) return; main(result.options); });
javascript
<gh_stars>0 .title { COLOR: #3366CC; FONT-FAMILY: Verdana; FONT-SIZE: 18; FONT-WEIGHT: bold } .subtitle { COLOR: #FFFFFF; BACKGROUND-COLOR: #009999; FONT-FAMILY: Verdana; FONT-SIZE: 11; FONT-STYLE: normal; FONT-WEIGHT: bold } .field { FONT-FAMILY: Verdana; FONT-SIZE: xx-small; } .tbltitle { BACKGROUND-COLOR: #6699CC; COLOR: white; FONT-FAMILY: Verdana; FONT-SIZE: 11; FONT-WEIGHT: bold } .tblcontent { BACKGROUND-COLOR: #99cccc; FONT-FAMILY: Verdana; FONT-SIZE: xx-small; } .frmtitle { FONT-FAMILY: Verdana; FONT-SIZE: 11; } .page { FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: xx-small; } .isi { BACKGROUND-COLOR: silver; COLOR: blue; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: 11 } .fieldtext { BACKGROUND-COLOR: silver; COLOR: brown; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: 11; } .menu { COLOR: #003366; FONT-FAMILY: Tahoma,Verdana; FONT-SIZE: 10; } .submenu { COLOR: #003366; FONT-FAMILY: Tahoma,Verdana; FONT-SIZE: 10; } .bgmenu { BACKGROUND-COLOR: #99cccc } .message { COLOR: red; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: 11; FONT-WEIGHT: bold } .success { COLOR: darkgreen; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: 11; FONT-WEIGHT: bold } .bgform { COLOR: silver; FONT-SIZE: x-small; } .input { BACKGROUND-COLOR: #fff0f5 } .formid { COLOR: silver; FONT-FAMILY: Arial, 'Courier New', Verdana,Tahoma; FONT-SIZE: 9; FONT-STYLE: normal; FONT-VARIANT: small-caps; TEXT-DECORATION: underline } .menuattribute { BACKGROUND-COLOR: #99cccc; COLOR: brown; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: x-small; } .menuheader { COLOR: yellow; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: x-small; } .greeting { COLOR: darkblue; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: xx-small; FONT-WEIGHT: bold } hr { color: #009999; } input { COLOR: darkblue; CURSOR: hand; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: 10; } select { COLOR: darkblue; CURSOR: hand; FONT-FAMILY: Arial,Verdana,'MS Sans Serif'; FONT-SIZE: 11; } .tampung { BACKGROUND-COLOR:#3366cc; }
css
<filename>tutorial/part4/chapter13.md # Chapter 13: Improving app performance ## What you will learn By now, you have everything together to get your first app up and running using even advanced components, layouts and callbacks. As dashboards are designed for data analysis and visualisations at some point you might run into efficiency constraints when the amount of data you are working with gets growing. To circumvent any possible performance lacking this chapter will give you some insights on improving your app performance. ```{admonition} Learning Intentions - Dash Developer Tools - (Pre)Processing data - Higher Performing Plotly graphs - Caching ``` ## 13.1 Dash Developer Tools Dash Dev Tools is a set of tools to make debugging and developing Dash apps more productive & pleasant. These tools are enabled when developing your Dash app and are not intended when deploying your application to production. In this tutorial we focus on the Callback Graph. Dash displays a visual representation of your callbacks: which order they are fired in, how long they take, and what data is passed back and forth between the Dash app in the web browser and your Python code. For an overview over the other tools look at the [official documentation](https://dash.plotly.com/devtools). The Dash Dev Tools Callback Graph provides Live Introspection, Profiling, and Live Debugging of your callback graph. #### [ADD SCREENSHOT, THAT SHOWS THE DASH DEV TOOLS] This includes: - The rounded green boxes represent your callback functions. - The top number represents the number of times the function has been called. - The bottom number represents how long the request took. This includes the network time (sending the data from the browser client to the backend and back) and the compute time (the total time minus the network time or how long the function spent in Python). - Click on a green box to see the detailed view about the callback. This includes: - `type` Whether the callback was a clientside callback or a serverside callback. - `call count` The number of times the callback was called during your session. - `status` Whether the callback was successful or not. - `time (avg milliseconds)` How long the request took. This is the same as the summary on the green box and is basically split up into the components `total`, `compute` and `network`. - `data transfer (avg bytes)` - `outputs` A JSON representation of the data that was returned from the callback. - `inputs` A JSON representation of the data that was passed to your callback function as Input. - `state` A JSON representation of the data that was passed to your callback function as State. - The blue boxes represent the input and output properties. Click on the box to see a JSON representation of their current values. - The dashed arrows (not visible in the screenshot) represent State. - The dropdown in the top right corner enables you to switch layouts ## 13.2 (Pre)Processing data Work in Progress: - Transfer the example of section ''Let go of dataframes in request/response'' from the article [https://strange-quark.medium.com/improving-performance-of-python-dash-dashboards-54547d68f86b](https://strange-quark.medium.com/improving-performance-of-python-dash-dashboards-54547d68f86b) to the gapminder data set? Does this enhance performance? Need to restructure the gapminder data set? - Using numpy for (numerical) calculations, examples on performance? ## 13.3 Higher Performing Plotly graphs So far, we have used the `plotly.express` library to implement our graphs. This is a very easy and convenient way to do so. However, most plotly charts are rendered with SVG (Short for Scalable Vector Graphics). This provides crisp rendering, publication-quality image export as SVG images can be scaled in size without loss of quality, and wide browser support. Unfortunately, rendering graphics in SVG can be slow for large datasets (like those with more than 15k points). To overcome this limitation, `plotly.js` has WebGL (Short for Web Graphics Library) alternatives to some chart types. WebGL uses the GPU to render graphics which make them higher performing. Two WebGL alternatives are the following: - [ScatterGL](https://plotly.com/python/line-and-scatter/#large-data-sets): A webgl implementation of the scatter chart type. - [Pointcloud](https://plotly.com/python/reference/#pointcloud): A lightweight version of scattergl with limited customizability but even faster rendering. Another high performing way of exploring correlations of large data sets is to use [datashader](https://plotly.com/python/datashader/) in combination with plotly. Datashader creates rasterized representations of large datasets for easier visualization, with a pipeline approach consisting of several steps: projecting the data on a regular grid aggregating it by count and creating a color representation of the grid. Usually, the minimum count will be plotted in black, the maximum in white, and with brighter colors ranging logarithmically in between. ### 13.3.1 ScatterGL Let us have a closer look at the ScatterGL plot, which is a scatter plot. Against the scatter plots we have seen so far, the ScatterGL plot is a plotly `graph object`, in comparison to the plotly express scatter plot implemented in the previous chapters. The following App let's you compare the different durations for data loading. ``` # Import packages from dash import Dash, dcc, Input, Output import dash_bootstrap_components as dbc from datetime import datetime import numpy as np import pandas as pd import plotly.express as px import plotly.graph_objects as go # Setup data df = px.data.gapminder()[['country', 'year', 'lifeExp']] dropdown_list = df['country'].unique() # Initialise the App app = Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP]) # Create app components markdown = dcc.Markdown(id='our-markdown') dropdown = dcc.Dropdown(id='our-dropdown', options=dropdown_list, value=dropdown_list[0]) markdown_scatter = dcc.Markdown(id='markdown-scatter') markdown_gl = dcc.Markdown(id='markdown-gl') slider = dcc.Slider(id='our-slider', min=0, max=50000, marks=None, value=0) # App Layout app.layout = dbc.Container( [ dbc.Row([dbc.Col(dropdown, width=3), dbc.Col(markdown, width=9)]), dbc.Row([dbc.Col(dcc.Graph(id='our-figure')), dbc.Col(dcc.Graph(id='our-gl-figure'))]), dbc.Row([dbc.Col(markdown_scatter), dbc.Col(markdown_gl)]), dbc.Row(dbc.Col(slider)), ] ) # Configure callbacks @app.callback( Output(component_id='our-markdown', component_property='children'), Input(component_id='our-dropdown', component_property='value'), Input(component_id='our-slider', component_property='value'), ) def update_markdown(value_dropdown, value_slider): df_sub = df[df['country'].isin([value_dropdown])] title = 'Data points displayed: {:,}'.format(len(df_sub.index) * value_slider) return title @app.callback( Output(component_id='our-figure', component_property='figure'), Output(component_id='markdown-scatter', component_property='children'), Input(component_id='our-dropdown', component_property='value'), Input(component_id='our-slider', component_property='value'), ) def update_graph(value_dropdown, value_slider): df_sub = df[df['country'].isin([value_dropdown])] df_new = pd.DataFrame(np.repeat(df_sub.to_numpy(), value_slider, axis=0), columns=df_sub.columns) start_time = datetime.now() fig = px.scatter( df_new, x='year', y='lifeExp', title='PX scatter plot', template='plotly_white', ) fig.update_traces(marker=dict(size=5 + (value_slider / 30000) * 25)) end_time = datetime.now() subtitle = 'Duration for scatter plot loading: {} s'.format(round((end_time - start_time).total_seconds(), 2)) return fig, subtitle @app.callback( Output(component_id='our-gl-figure', component_property='figure'), Output(component_id='markdown-gl', component_property='children'), Input(component_id='our-dropdown', component_property='value'), Input(component_id='our-slider', component_property='value'), ) def update_graph(value_dropdown, value_slider): df_sub = df[df['country'].isin([value_dropdown])] df_new = pd.DataFrame(np.repeat(df_sub.to_numpy(), value_slider, axis=0), columns=df_sub.columns) start_time = datetime.now() fig = go.Figure(data=go.Scattergl( x=df_new['year'], y=df_new['lifeExp'], mode='markers', marker=dict(colorscale='Viridis', size=5 + (value_slider / 30000) * 25), )) fig.update_layout( title='GO gl-scatter plot', xaxis_title='year', yaxis_title='lifeExp', ) end_time = datetime.now() subtitle = 'Duration for gl-scatter plot loading: {} s'.format(round((end_time - start_time).total_seconds(), 2)) return fig, subtitle # Run the App if __name__ == '__main__': app.run_server() ``` #### [ADD GIF, THAT SHOWS APP IN ACTION AND COMPARES THE SPEED OF THE TWO SCATTER PLOTS FOR TWO DIFFERENT SLIDER VALUES] ### 13.3.2 Datashader ### 13.3.3 Plotly Resampler Even though the ScatterGL outperformes the px scatter plot, it is still rather slow for large data sets and is delayed when interacting with the data plot e.g., zoom in. That's where the package `plotly_resampler` comes in very handy. This package speeds up the figure by downsampling (aggregating) the data respective to the view and then plotting the aggregated points. When you interact with the plot (panning, zooming, ...), callbacks are used to aggregate data and update the figure. ```{admonition} Learning Intentions See also the [documenatation on Github](https://github.com/predict-idlab/plotly-resampler) for the plotly resampler package. ``` The following App let's you compare the different durations for data loading. ``` # Import packages from dash import Dash, dcc, Input, Output import dash_bootstrap_components as dbc from datetime import datetime import numpy as np import pandas as pd import plotly.express as px import plotly.graph_objects as go from plotly_resampler import FigureResampler # Setup data df = px.data.gapminder()[['country', 'year', 'lifeExp']] dropdown_list = df['country'].unique() # Initialise the App app = Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP]) # Create app components markdown = dcc.Markdown(id='our-markdown') dropdown = dcc.Dropdown(id='our-dropdown', options=dropdown_list, value=dropdown_list[0]) markdown_scatter = dcc.Markdown(id='markdown-scatter') markdown_gl = dcc.Markdown(id='markdown-gl') markdown_resampler = dcc.Markdown(id='markdown-resample') slider = dcc.Slider(id='our-slider', min=0, max=50000, marks=None, value=0) # App Layout app.layout = dbc.Container( [ dbc.Row([dbc.Col(dropdown, width=3), dbc.Col(markdown, width=9)]), dbc.Row([dbc.Col(dcc.Graph(id='our-figure')), dbc.Col(dcc.Graph(id='our-gl-figure')), dbc.Col(dcc.Graph(id='our-resample-figure'))]), dbc.Row([dbc.Col(markdown_scatter), dbc.Col(markdown_gl), dbc.Col(markdown_resampler)]), dbc.Row(dbc.Col(slider)), ] ) # Configure callbacks @app.callback( Output(component_id='our-markdown', component_property='children'), Input(component_id='our-dropdown', component_property='value'), Input(component_id='our-slider', component_property='value'), ) def update_markdown(value_dropdown, value_slider): df_sub = df[df['country'].isin([value_dropdown])] title = 'Data points displayed: {:,}'.format(len(df_sub.index) * value_slider) return title @app.callback( Output(component_id='our-figure', component_property='figure'), Output(component_id='markdown-scatter', component_property='children'), Input(component_id='our-dropdown', component_property='value'), Input(component_id='our-slider', component_property='value'), ) def update_graph(value_dropdown, value_slider): df_sub = df[df['country'].isin([value_dropdown])] df_new = pd.DataFrame(np.repeat(df_sub.to_numpy(), value_slider, axis=0), columns=df_sub.columns) start_time = datetime.now() fig = px.scatter( df_new, x='year', y='lifeExp', title='PX scatter plot', template='plotly_white', ) fig.update_traces(marker=dict(size=5 + (value_slider / 30000) * 25)) end_time = datetime.now() subtitle = 'Duration for scatter plot loading: {} s'.format(round((end_time - start_time).total_seconds(), 2)) return fig, subtitle @app.callback( Output(component_id='our-gl-figure', component_property='figure'), Output(component_id='markdown-gl', component_property='children'), Input(component_id='our-dropdown', component_property='value'), Input(component_id='our-slider', component_property='value'), ) def update_graph(value_dropdown, value_slider): df_sub = df[df['country'].isin([value_dropdown])] df_new = pd.DataFrame(np.repeat(df_sub.to_numpy(), value_slider, axis=0), columns=df_sub.columns) start_time = datetime.now() fig = go.Figure() fig.add_trace(go.Scattergl( x=df_new['year'], y=pd.to_numeric(df_new['lifeExp']), mode='markers', marker=dict(colorscale='Viridis', size=5 + (value_slider / 30000) * 25), )) fig.update_layout( title='GO gl-scatter plot', xaxis_title='year', yaxis_title='lifeExp', ) end_time = datetime.now() subtitle = 'Duration for gl-scatter plot loading: {} s'.format(round((end_time - start_time).total_seconds(), 2)) return fig, subtitle @app.callback( Output(component_id='our-resample-figure', component_property='figure'), Output(component_id='markdown-resample', component_property='children'), Input(component_id='our-dropdown', component_property='value'), Input(component_id='our-slider', component_property='value'), ) def update_graph(value_dropdown, value_slider): df_sub = df[df['country'].isin([value_dropdown])] df_new = pd.DataFrame(np.repeat(df_sub.to_numpy(), value_slider, axis=0), columns=df_sub.columns) start_time = datetime.now() fig = FigureResampler(go.Figure()) fig.add_trace(go.Scattergl( x=df_new['year'], y=pd.to_numeric(df_new['lifeExp']), mode='markers', marker=dict(colorscale='Viridis', size=5 + (value_slider / 30000) * 25), )) fig.update_layout( title='Plotly Resampler scatter plot', xaxis_title='year', yaxis_title='lifeExp', ) end_time = datetime.now() subtitle = 'Duration for Plotly Resampler scatter plot loading: {} s'.format(round((end_time - start_time).total_seconds(), 2)) return fig, subtitle # Run the App if __name__ == '__main__': app.run_server(debug=True) ``` #### [ADD GIF, THAT SHOWS APP IN ACTION AND COMPARES THE SPEED OF THE SCATTER PLOTS FOR TWO DIFFERENT SLIDER VALUES AS WELL AS HOW TO ZOOM IN] ## 13.4 Caching Caching, also known as Memoization, is a method used in computer science to speed up calculations by storing data so that future requests for that data can be served faster. Typically, this data stored in a cache is the result of an earlier computation. This way repeated function calls are made with the same parameters won't have to be calculated multiple times. One popular use case are recurvise functions. ```{admonition} Memoization For an exemplary introduction to memoization and the implementation in Python also have a look at [Towards Data Science](https://towardsdatascience.com/memoization-in-python-57c0a738179a) or [Real Python](https://realpython.com/lru-cache-python/). ``` When working with callbacks, the easiest way implementing memoization is using the `flask_caching` module. See the [official documentation](https://dash.plotly.com/performance#memoization) for further reference. ## Other potential ideas if need be: https://community.plotly.com/t/how-to-improve-the-loading-speed-of-my-page/17197 https://community.plotly.com/t/is-there-a-way-to-increate-the-performance-of-my-dash-web-app/23117/10 https://github.com/ijl/orjson ## Summary
markdown
<gh_stars>0 { "name": "ionic2-openapp-service", "version": "1.0.2", "description": "service for open app on ionic2", "main": "index.js", "scripts": { "build": "tsc --noStrictGenericChecks", "prepublish": "npm run build", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/feijor/ionic2-openapp-service.git" }, "keywords": [ "ionic2", "open app" ], "author": "<NAME>", "license": "MIT", "bugs": { "url": "https://github.com/feijor/ionic2-openapp-service.git/issues" }, "homepage": "https://github.com/feijor/ionic2-openapp-service.git#readme", "devDependencies": { "typescript": "^2.4.2" }, "dependencies": { "@angular/common": "4.1.3", "@angular/compiler": "4.1.3", "@angular/compiler-cli": "4.1.3", "@angular/core": "4.1.3", "@angular/platform-browser": "4.1.3", "@angular/platform-browser-dynamic": "4.1.3", "@ionic-native/app-availability": "^4.1.0", "@ionic-native/device": "^4.1.0", "@ionic-native/core": "3.12.1", "cordova-plugin-compat": "^1.1.0", "@ionic-native/in-app-browser": "^4.1.0", "cordova-plugin-appavailability": "^0.4.2", "cordova-plugin-device": "1.1.4", "cordova-plugin-inappbrowser": "^1.7.1", "rxjs": "5.4.0", "zone.js": "0.8.12" } }
json
Elective surgeries will resume in Australia within a week amid the coronavirus pandemic, Prime Minister Scott Morrison announced on Tuesday. Canberra, April 21 Elective surgeries will resume in Australia within a week amid the coronavirus pandemic, Prime Minister Scott Morrison announced on Tuesday. The National Cabinet, which comprises Morrison and state and territory leaders, on Tuesday agreed to lift some restrictions on elective procedures next week, reports Xinhua news agency. The decision comes less than a month after elective surgeries were banned indefinitely to ease the pressure on the health care system amid the COVID-19 crisis. "This will not mean an immediate return to normal with elective surgery, but a gradual restart, subject to of course capacity and other constraints that may exist in each jurisdiction," Morrison said. Procedures that will resume include those in vitro fertilization (IVF) treatments, post-cancer reconstructions, joint replacements and procedures for children. The decision to ease the restrictions was prompted by the slowing spread of the virus in Australia. Morrison also identified the "increase in the amount of personal protective equipment (PPE) that we have been able to secure" as a significant factor in the decision. Brendan Murphy, Australia's chief medical officer, said that resuming elective surgery represented a "gentle, careful start" to "normalizing" health care in Australia. "It is incredibly important. Some elective surgery is life saving. It really means all surgery that's not urgent," he said. "One of the things that has concerned the health profession generally during this pandemic has been the lack of attention to non-COVID-related medical conditions. " Australia has reported 6,547 coronavirus cases with 67 deaths.
english
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <title>ASP.Net Core Dependency Injection</title> <link rel="stylesheet" type="text/css" href="../../../style.css" /> <script type="text/javascript" src="../../../utilities.js"> </script> </head> <body> <h1>static void</h1> <div class="menu"> <ul> <li><a href="../../../index.html">Main &gt;</a></li> <li><a href="../../dotnet.html">.Net &gt;</a></li> <li><a href="../aspdotnet.html">ASP.Net &gt;</a></li> <li><a href="core.html">DotNet Core</a></li> <li><a href="mvc.html">MVC</a></li> <li><a href="project.html">Core Project</a></li> <li><a href="startup.html">Startup</a></li> <li><a href="config.html">Config Settings</a></li> <li><a href="iis.html">IIS</a></li> <li><a href="controllers.html">Controllers</a></li> <li><a href="views.html">Views</a></li> <li><a href="di.html">Dependency Injection</a></li> <li><a href="security.html">Security</a></li> <li><a href="logging.html">Logging</a></li> <li><a href="localization.html">Localization</a></li> </ul> </div> <div class="content"> <h2>ASP.Net Core Dependency Injection</h2> <p>See <a href="https://docs.asp.net/en/latest/fundamentals/dependency-injection.html">docs.asp.net</a></p> <p>There is a simple DI built into core (using IServiceProvider, which goes back to .net 1.1 but now is in Microsoft.Extensions.DependencyInjection.Abstractions).<br /> It's functional enough that a full DI container isn't required, but the usual suspects have hooks.</p> <p>Eg <a href="https://autofac.readthedocs.io/en/latest/integration/aspnetcore.html">Autofac</a>, add Autofac.Extensions.DependencyInjection and in Program.cs:</p> <div class="code"> <p><span style="color:#2b91af;">Host</span>.<span style="color:#74531f;">CreateDefaultBuilder</span>(<span style="color:#1f377f;">args</span>)<br /> .<span style="color:#74531f;">UseServiceProviderFactory</span>(new <span style="color:#2b91af;">AutofacServiceProviderFactory</span>()) //etc</p> </div> <h3>Configuration</h3> <p>Services are configured in Startup.<strong>ConfigureServices</strong>(IServiceCollection services)</p> <p>Most middleware services are added using the standard services.AddX convention.</p> <div class="code"> <p><span style="color:blue;">public</span>&nbsp;<span style="color:blue;">void</span>&nbsp;<span style="color:darkcyan;">ConfigureServices</span>(<span style="color:darkblue;">IServiceCollection</span>&nbsp;services)<br/> {<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//&nbsp;Add&nbsp;middleware&nbsp;services.</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;services.<span style="color:darkcyan;">AddMvc</span>();<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//&nbsp;Add&nbsp;application&nbsp;services.</span><br/> <br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//newly&nbsp;created&nbsp;each&nbsp;time</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;services.<span style="color:darkcyan;">AddTransient</span>&lt;<span style="color:darkblue;">IService</span>,&nbsp;<span style="color:darkblue;">Service</span>&gt;();<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//created&nbsp;for&nbsp;request,&nbsp;reused&nbsp;within&nbsp;request</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;services.<span style="color:darkcyan;">AddScoped</span>&lt;<span style="color:darkblue;">IService</span>,&nbsp;<span style="color:darkblue;">Service</span>&gt;();<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//create&nbsp;a&nbsp;singleton,&nbsp;created&nbsp;here</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;services.<span style="color:darkcyan;">AddSingleton</span>&lt;<span style="color:darkblue;">IService</span>&gt;(<span style="color:blue;">new</span>&nbsp;<span style="color:darkblue;">Service</span>());<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//create&nbsp;a&nbsp;singleton,&nbsp;created&nbsp;lazily</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;services.<span style="color:darkcyan;">AddSingleton</span>&lt;<span style="color:darkblue;">IService</span>,&nbsp;<span style="color:darkblue;">Service</span>&gt;();<br/> }</p> </div> <h3>Use</h3> <p>Consume using constructor injection- chained dependencies are fine.</p> <p>If absolutely necessary to break DI, you can also access Service-Locator style, from HttpContext.RequestServices</p> <h3>Consoles</h3> <p>You can use something similar in consoles, but it's overkill when you just want simple configuration, DI and logging. It's best to call the Host.CreateDefaultBuilder, grab the IServiceProvider from it, and GetRequiredService of your class, which is now fully DI configured for you.</p> <p>This sample uses NLog. If you have disposables in your services, you'll need to cast the service as IDisposable within a using block.</p> <div class="code"> <p><span style="color:blue;">class</span>&nbsp;<span style="color:#2b91af;">Program</span><br/> {<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">static</span>&nbsp;<span style="color:blue;">async</span>&nbsp;<span style="color:#2b91af;">Task</span>&nbsp;Main(<span style="color:blue;">string</span>[]&nbsp;args)<br/> &nbsp;&nbsp;&nbsp;&nbsp;{<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;logger&nbsp;=&nbsp;<span style="color:#2b91af;">LogManager</span>.GetCurrentClassLogger();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">try</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;host&nbsp;=&nbsp;CreateHostBuilder(args).Build();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//we&nbsp;don&#39;t&nbsp;use&nbsp;the&nbsp;host,&nbsp;just&nbsp;grab&nbsp;the&nbsp;DI&nbsp;container&nbsp;which&nbsp;has&nbsp;been&nbsp;built&nbsp;with&nbsp;options</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;serviceProvider&nbsp;=&nbsp;host.Services;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;runner&nbsp;=&nbsp;serviceProvider.GetRequiredService&lt;<span style="color:#2b91af;">Runner</span>&gt;();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runner.Run();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">catch</span>&nbsp;(<span style="color:#2b91af;">Exception</span>&nbsp;ex)<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//&nbsp;NLog:&nbsp;catch&nbsp;any&nbsp;exception&nbsp;and&nbsp;log&nbsp;it.</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logger.Error(ex,&nbsp;<span style="color:#a31515;">&quot;Top&nbsp;level&nbsp;exception&quot;</span>);<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">throw</span>;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">finally</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//&nbsp;Flush&nbsp;and&nbsp;stop&nbsp;internal&nbsp;timers/threads</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#2b91af;">LogManager</span>.Shutdown();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br/> &nbsp;&nbsp;&nbsp;&nbsp;}<br/> &nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;<span style="color:blue;">static</span>&nbsp;<span style="color:#2b91af;">IHostBuilder</span>&nbsp;CreateHostBuilder(<span style="color:blue;">string</span>[]&nbsp;args)&nbsp;=&gt;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#2b91af;">Host</span>.CreateDefaultBuilder(args)<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ConfigureServices((hostContext,&nbsp;services)&nbsp;=&gt;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;services.Configure&lt;<span style="color:#2b91af;">ConfigDetails</span>&gt;(hostContext.Configuration.GetSection(<span style="color:#a31515;">&quot;ConfigDetails&quot;</span>));<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;services.AddTransient&lt;<span style="color:#2b91af;">Runner</span>&gt;();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;services.AddLogging(loggingBuilder&nbsp;=&gt;<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:green;">//&nbsp;configure&nbsp;Logging&nbsp;with&nbsp;NLog</span><br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loggingBuilder.ClearProviders();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loggingBuilder.SetMinimumLevel(Microsoft.Extensions.Logging.<span style="color:#2b91af;">LogLevel</span>.Trace);<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loggingBuilder.AddNLog();<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br/> }</p> </div> </div> <div class="Footer"></div> </body> </html>
html
<reponame>netoneze/prog-web1-utfprcp <!DOCTYPE html> <html lang="pt-br"> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="" crossorigin="anonymous"> <link rel="stylesheet" href="../../style/css/principal.css"> <link rel="icon" href="../../img/logo.png"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width"> <title>Classroom</title> <style> .nav-atual { font-size: 26px; } </style> </head> <body class="container"> <header class="item-container"> <div class="caixa-superior"> <img onclick="refreshPage()" src="../../img/logo.png" class="img-logo-caixa-superior" alt="Logotipo EADúvida" title="Logotipo superior EADúvida"> <nav> <ul> <li><a href="../../index.html">Início</a></li> <li><a href="../../login.html">Login</a></li> <li><a href="../../tutoriais.html" class="nav-atual">Tutoriais</a></li> <li><a href="../../contato.html">Contato</a></li> <li><a href="../../sobre.html">Sobre</a></li> </ul> </nav> </div> </header> <main class="item-container"> <div class="principal"> <div class="participar-aluno"> <h2 class="titulo-principal">Participar de uma turma como aluno</h2> <p>&nbsp Para usar o Google Sala de Aula, faça login no seu computador ou dispositivo móvel e participe das turmas. Após entrar na turma, você receberá os trabalhos do professor e poderá se comunicar com os colegas.</p> <p>&nbsp Você pode participar de uma turma das seguintes formas:</p> <ul> <li><strong>Link da turma:</strong> o professor envia o link para você.</li> <li><strong>Código da turma:</strong> o professor envia ou informa o código da turma.</li> <li><strong>Convite por e-mail:</strong> o professor envia o convite para você.</li> </ul> <p>&nbsp Após participar de uma turma em um dispositivo, você estará inscrito nela para acessar com qualquer dispositivo.</p> </div> </div> </main> <footer class="item-container"> <img class="img-footer" src="../../img/logo.png" alt="Logotipo EADúvida" title="Logotipo footer"> <p class="copyright">Copyright EADúvida - 2021</p> </footer> <script> function refreshPage() { document.location.reload(true); } </script> </body> </html> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="" crossorigin="anonymous"></script>
html
package me.ferrybig.javacoding.minecraft.minigame.bukkit.commands; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.command.TabExecutor; import org.bukkit.entity.Player; public abstract class AbstractCommandReceiver implements TabExecutor, CommandReceiver{ protected String makeLabel(CommandSender sender, List<String> label) { return label.stream().collect(Collectors.joining(" ", sender instanceof Player ? "/" : "", "")); } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { if(command.testPermission(sender)) { List<String> l = new LinkedList<>(); l.add(label); this.onCommand(sender, command, l, Arrays.asList(args)); } return true; } @Override public List<String> onTabComplete(CommandSender sender, Command command, String label, String[] args) { if(command.testPermissionSilent(sender)) { List<String> l = new LinkedList<>(); l.add(label); return this.onTabComplete(sender, command, l, Arrays.asList(args)); } return Collections.emptyList(); } }
java
// Copyright 2017 The Gogs Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package db import ( "encoding/base64" "fmt" "strings" "time" "github.com/pquerna/otp/totp" "github.com/unknwon/com" log "gopkg.in/clog.v1" "xorm.io/xorm" "github.com/G-Node/gogs/internal/db/errors" "github.com/G-Node/gogs/internal/setting" "github.com/G-Node/gogs/internal/tool" ) // TwoFactor represents a two-factor authentication token. type TwoFactor struct { ID int64 UserID int64 `xorm:"UNIQUE"` Secret string Created time.Time `xorm:"-" json:"-"` CreatedUnix int64 } func (t *TwoFactor) BeforeInsert() { t.CreatedUnix = time.Now().Unix() } func (t *TwoFactor) AfterSet(colName string, _ xorm.Cell) { switch colName { case "created_unix": t.Created = time.Unix(t.CreatedUnix, 0).Local() } } // ValidateTOTP returns true if given passcode is valid for two-factor authentication token. // It also returns possible validation error. func (t *TwoFactor) ValidateTOTP(passcode string) (bool, error) { secret, err := base64.StdEncoding.DecodeString(t.Secret) if err != nil { return false, fmt.Errorf("DecodeString: %v", err) } decryptSecret, err := com.AESGCMDecrypt(tool.MD5Bytes(setting.SecretKey), secret) if err != nil { return false, fmt.Errorf("AESGCMDecrypt: %v", err) } return totp.Validate(passcode, string(decryptSecret)), nil } // IsUserEnabledTwoFactor returns true if user has enabled two-factor authentication. func IsUserEnabledTwoFactor(userID int64) bool { has, err := x.Where("user_id = ?", userID).Get(new(TwoFactor)) if err != nil { log.Error(2, "IsUserEnabledTwoFactor [user_id: %d]: %v", userID, err) } return has } func generateRecoveryCodes(userID int64) ([]*TwoFactorRecoveryCode, error) { recoveryCodes := make([]*TwoFactorRecoveryCode, 10) for i := 0; i < 10; i++ { code, err := tool.RandomString(10) if err != nil { return nil, fmt.Errorf("RandomString: %v", err) } recoveryCodes[i] = &TwoFactorRecoveryCode{ UserID: userID, Code: strings.ToLower(code[:5] + "-" + code[5:]), } } return recoveryCodes, nil } // NewTwoFactor creates a new two-factor authentication token and recovery codes for given user. func NewTwoFactor(userID int64, secret string) error { t := &TwoFactor{ UserID: userID, } // Encrypt secret encryptSecret, err := com.AESGCMEncrypt(tool.MD5Bytes(setting.SecretKey), []byte(secret)) if err != nil { return fmt.Errorf("AESGCMEncrypt: %v", err) } t.Secret = base64.StdEncoding.EncodeToString(encryptSecret) recoveryCodes, err := generateRecoveryCodes(userID) if err != nil { return fmt.Errorf("generateRecoveryCodes: %v", err) } sess := x.NewSession() defer sess.Close() if err = sess.Begin(); err != nil { return err } if _, err = sess.Insert(t); err != nil { return fmt.Errorf("insert two-factor: %v", err) } else if _, err = sess.Insert(recoveryCodes); err != nil { return fmt.Errorf("insert recovery codes: %v", err) } return sess.Commit() } // GetTwoFactorByUserID returns two-factor authentication token of given user. func GetTwoFactorByUserID(userID int64) (*TwoFactor, error) { t := new(TwoFactor) has, err := x.Where("user_id = ?", userID).Get(t) if err != nil { return nil, err } else if !has { return nil, errors.TwoFactorNotFound{userID} } return t, nil } // DeleteTwoFactor removes two-factor authentication token and recovery codes of given user. func DeleteTwoFactor(userID int64) (err error) { sess := x.NewSession() defer sess.Close() if err = sess.Begin(); err != nil { return err } if _, err = sess.Where("user_id = ?", userID).Delete(new(TwoFactor)); err != nil { return fmt.Errorf("delete two-factor: %v", err) } else if err = deleteRecoveryCodesByUserID(sess, userID); err != nil { return fmt.Errorf("deleteRecoveryCodesByUserID: %v", err) } return sess.Commit() } // TwoFactorRecoveryCode represents a two-factor authentication recovery code. type TwoFactorRecoveryCode struct { ID int64 UserID int64 Code string `xorm:"VARCHAR(11)"` IsUsed bool } // GetRecoveryCodesByUserID returns all recovery codes of given user. func GetRecoveryCodesByUserID(userID int64) ([]*TwoFactorRecoveryCode, error) { recoveryCodes := make([]*TwoFactorRecoveryCode, 0, 10) return recoveryCodes, x.Where("user_id = ?", userID).Find(&recoveryCodes) } func deleteRecoveryCodesByUserID(e Engine, userID int64) error { _, err := e.Where("user_id = ?", userID).Delete(new(TwoFactorRecoveryCode)) return err } // RegenerateRecoveryCodes regenerates new set of recovery codes for given user. func RegenerateRecoveryCodes(userID int64) error { recoveryCodes, err := generateRecoveryCodes(userID) if err != nil { return fmt.Errorf("generateRecoveryCodes: %v", err) } sess := x.NewSession() defer sess.Close() if err = sess.Begin(); err != nil { return err } if err = deleteRecoveryCodesByUserID(sess, userID); err != nil { return fmt.Errorf("deleteRecoveryCodesByUserID: %v", err) } else if _, err = sess.Insert(recoveryCodes); err != nil { return fmt.Errorf("insert new recovery codes: %v", err) } return sess.Commit() } // UseRecoveryCode validates recovery code of given user and marks it is used if valid. func UseRecoveryCode(userID int64, code string) error { recoveryCode := new(TwoFactorRecoveryCode) has, err := x.Where("code = ?", code).And("is_used = ?", false).Get(recoveryCode) if err != nil { return fmt.Errorf("get unused code: %v", err) } else if !has { return errors.TwoFactorRecoveryCodeNotFound{code} } recoveryCode.IsUsed = true if _, err = x.Id(recoveryCode.ID).Cols("is_used").Update(recoveryCode); err != nil { return fmt.Errorf("mark code as used: %v", err) } return nil }
go
<reponame>kubohiroya/sqs-reader /* Copyright 2011 <NAME> (<EMAIL>). Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Created on 2011/12/03 */ package net.sqs2.omr.ui; import java.io.File; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultTreeModel; import javax.swing.tree.TreeNode; import javax.swing.tree.TreePath; import net.sqs2.omr.master.FormMaster; import net.sqs2.omr.model.SessionSource; import net.sqs2.omr.model.SourceDirectory; import net.sqs2.omr.ui.util.TreeValues; import net.sqs2.util.StringUtil; class SourceTreeModel{ public static final String ROOT_NODE_NAME = "すべて"; DefaultTreeModel treeModel; DefaultMutableTreeNode rootNode; Map<SourceDirectory,TreeNode> sourceDirectoryToTreeNodeMap = new HashMap<SourceDirectory,TreeNode>(); TreeValues numErrors = new TreeValues(); TreeValues numSuccess = new TreeValues(); TreeValues numTasks = new TreeValues(); TreeValues numPageIDs = new TreeValues(); boolean hasInitialized = false; SourceTreeModel(){ this.rootNode = new DefaultMutableTreeNode(ROOT_NODE_NAME); this.treeModel = new DefaultTreeModel(this.rootNode); this.hasInitialized = false; } public void initialize(SessionSource sessionSource){ for(FormMaster formMaster: sessionSource.getFormMasters()){ Set<SourceDirectory> sourceDirectorySet = sessionSource.getSourceDirectoryRootTreeSet(formMaster); DefaultMutableTreeNode masterNode = new DefaultMutableTreeNode(formMaster); this.rootNode.add(masterNode); this.treeModel.nodeStructureChanged(this.rootNode); for(SourceDirectory sourceDirectory: sourceDirectorySet){ initializeTreeNodes(masterNode, sourceDirectory); } } this.hasInitialized = true; } private void initializeTreeNodes(DefaultMutableTreeNode parentNode, SourceDirectory sourceDirectory) { DefaultMutableTreeNode sourceDirectoryNode = new DefaultMutableTreeNode(sourceDirectory); parentNode.add(sourceDirectoryNode); this.sourceDirectoryToTreeNodeMap.put(sourceDirectory, sourceDirectoryNode); this.treeModel.nodeChanged(sourceDirectoryNode); this.treeModel.nodeStructureChanged(sourceDirectoryNode); this.numPageIDs.setValue(sourceDirectoryNode, sourceDirectory.getNumPageIDs()); Collection<SourceDirectory> childSourceDirectoryList = sourceDirectory.getChildSourceDirectoryList(); if(childSourceDirectoryList == null){ return; } for(SourceDirectory childSourceDirectory: childSourceDirectoryList){ if(childSourceDirectory.getCurrentFormMaster() == sourceDirectory.getCurrentFormMaster()){ initializeTreeNodes(sourceDirectoryNode, childSourceDirectory); } } } public TreePath getTreePath(SourceDirectory sourceDirectory){ if(sourceDirectory == null){ return null; } if(hasInitialized == false){ throw new RuntimeException("Not Initialized:"+this); } FormMaster master = sourceDirectory.getCurrentFormMaster(); int numChildren = this.rootNode.getChildCount(); for(int index = 0; index < numChildren; index++){ DefaultMutableTreeNode topLevelNode = (DefaultMutableTreeNode)this.rootNode.getChildAt(index); if(topLevelNode.getUserObject().equals(master)){ List<String> path = StringUtil.split(sourceDirectory.getRelativePath(), File.separatorChar); path.add(0, ""); // add node represents SourceDirectory Root TreeNode treeNode = this.sourceDirectoryToTreeNodeMap.get(sourceDirectory); return new TreePath(this.treeModel.getPathToRoot(treeNode)); } } throw new IllegalArgumentException("["+sourceDirectory+"]"); } public void valueForPathChanged(TreePath treePath){ // update Node Title for JTree do { Object nodeValue = ((DefaultMutableTreeNode) treePath.getLastPathComponent()).getUserObject(); this.treeModel.valueForPathChanged(treePath, nodeValue); treePath = treePath.getParentPath(); } while (treePath != null); } public void clear(){ this.sourceDirectoryToTreeNodeMap.clear(); this.rootNode.removeAllChildren(); this.numErrors.clear(); this.numSuccess.clear(); this.numTasks.clear(); this.numPageIDs.clear(); } }
java
Obesity and psychological issues have been linked to excessive screen time. A new study in fruit flies has discovered a new problem: the blue light emitted by these devices may have an effect on our basic biological functions. The findings of the study were published in Frontiers in Aging. “Our study suggests that avoidance of excessive blue light exposure may be a good anti-aging strategy,” advised Giebultowicz. The researchers at Oregon State University have previously shown that fruit flies exposed to light ‘turn on’ stress protective genes, and that those kept in constant darkness lived longer. “To understand why high-energy blue light is responsible for accelerating aging in fruit flies, we compared the levels of metabolites in flies exposed to blue light for two weeks to those kept in complete darkness,” explained Giebultowicz. Blue light exposure caused significant differences in the levels of metabolites measured by the researchers in the cells of fly heads. In particular, they found that the levels of the metabolite succinate were increased, but glutamate levels were lowered. The changes recorded by the researchers suggest that the cells are operating at suboptimal level, and this may cause their premature death, and further, explain their previous findings that blue light accelerates aging. “LEDs have become the main illumination in display screens such as phones, desktops and TVs, as well as ambient lighting, so humans in advanced societies are exposed to blue light through LED lighting during most of their waking hours. The signaling chemicals in the cells of flies and humans are the same, so the there is potential for negative effects of blue light on humans,” explains Giebultowicz. Future work hopes to study the effects directly on human cells. “We used a fairly strong blue light on the flies – humans are exposed to less intense light, so cellular damage may be less dramatic. The results from this study suggests that future research involving human cells is needed to establish the extent to which human cells may show similar changes in metabolites involved in energy production in response to excessive exposure to blue light,” concluded Giebultowicz.
english
{"nft":{"id":"6841","name":"PixelFreak #06841","description":"They call us ugly, and misfits, but we prefer to call ourselves freaks","image":"ipfs://QmbMPLqUhqYuX3EHDMpbNyAczFTSpAYkxFZfDjRzKqwMtj","attributes":[{"trait_type":"pet","value":"None"},{"trait_type":"body","value":"General"},{"trait_type":"eyes","value":"Bubbles"},{"trait_type":"head","value":"Dordan"},{"trait_type":"nose","value":"Pig"},{"trait_type":"extra","value":"Luminal"},{"trait_type":"mouth","value":"Happy"},{"trait_type":"background","value":"RandomColor"},{"trait_type":"Trait Count","value":"8"}]},"attributeRarities":[{"trait_type":"pet","value":"None","count":9511,"ratio":0.9511,"ratioScore":1.0514141520344864},{"trait_type":"body","value":"General","count":139,"ratio":0.0139,"ratioScore":71.94244604316548},{"trait_type":"eyes","value":"Bubbles","count":348,"ratio":0.0348,"ratioScore":28.73563218390805},{"trait_type":"head","value":"Dordan","count":636,"ratio":0.0636,"ratioScore":15.723270440251572},{"trait_type":"nose","value":"Pig","count":1243,"ratio":0.1243,"ratioScore":8.045052292839904},{"trait_type":"extra","value":"Luminal","count":448,"ratio":0.0448,"ratioScore":22.321428571428573},{"trait_type":"mouth","value":"Happy","count":434,"ratio":0.0434,"ratioScore":23.04147465437788},{"trait_type":"background","value":"RandomColor","count":9595,"ratio":0.9595,"ratioScore":1.0422094841063054},{"trait_type":"Trait Count","value":"8","count":10000,"ratio":1,"ratioScore":1}],"rarityScore":172.90292782211225,"rank":6450}
json
import { TRANSFORM, Transform2DComponent } from "./Transform2DComponent"; export function IsRootTransform(id) { return !!Transform2DComponent.data[id][TRANSFORM.IS_ROOT]; }
javascript
<filename>backend/common/src/main/java/ai/verta/modeldb/common/futures/InternalFuture.java package ai.verta.modeldb.common.futures; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.function.*; import java.util.stream.Collectors; public class InternalFuture<T> { private CompletionStage<T> stage; private InternalFuture() {} // Convert a list of futures to a future of a list public static <T> InternalFuture<List<T>> sequence( final List<InternalFuture<T>> futures, Executor executor) { if (futures.isEmpty()) { return InternalFuture.completedInternalFuture(new LinkedList<>()); } final var promise = new CompletableFuture<List<T>>(); final var values = new ArrayList<T>(futures.size()); final CompletableFuture<T>[] futuresArray = futures.stream() .map(x -> x.toCompletionStage().toCompletableFuture()) .collect(Collectors.toList()) .toArray(new CompletableFuture[futures.size()]); CompletableFuture.allOf(futuresArray) .whenCompleteAsync( (ignored, throwable) -> { if (throwable != null) { promise.completeExceptionally(throwable); return; } try { for (final var future : futuresArray) { values.add(future.get()); } promise.complete(values); } catch (Throwable t) { promise.completeExceptionally(t); } }, executor); return InternalFuture.from(promise); } public static <R> InternalFuture<R> from(CompletionStage<R> other) { var ret = new InternalFuture<R>(); ret.stage = other; return ret; } public static <R> InternalFuture<R> completedInternalFuture(R value) { var ret = new InternalFuture<R>(); ret.stage = CompletableFuture.completedFuture(value); return ret; } public <U> InternalFuture<U> thenCompose( Function<? super T, InternalFuture<U>> fn, Executor executor) { return from( stage.thenComposeAsync(fn.andThen(internalFuture -> internalFuture.stage), executor)); } public <U> InternalFuture<U> thenApply(Function<? super T, ? extends U> fn, Executor executor) { return from(stage.thenApplyAsync(fn, executor)); } public <U, V> InternalFuture<V> thenCombine( InternalFuture<? extends U> other, BiFunction<? super T, ? super U, ? extends V> fn, Executor executor) { return from(stage.thenCombineAsync(other.stage, fn, executor)); } public InternalFuture<Void> thenAccept(Consumer<? super T> action, Executor executor) { return from(stage.thenAcceptAsync(action, executor)); } public <U> InternalFuture<Void> thenRun(Runnable runnable, Executor executor) { return from(stage.thenRunAsync(runnable, executor)); } public static <U> InternalFuture<Void> runAsync(Runnable runnable, Executor executor) { return from(CompletableFuture.runAsync(runnable, executor)); } public static <U> InternalFuture<U> supplyAsync(Supplier<U> supplier, Executor executor) { return from(CompletableFuture.supplyAsync(supplier, executor)); } public static <U> InternalFuture<U> failedStage(Throwable ex) { return from(CompletableFuture.failedFuture(ex)); } public InternalFuture<T> whenComplete( BiConsumer<? super T, ? super Throwable> action, Executor executor) { return from(stage.whenCompleteAsync(action, executor)); } public T get() throws ExecutionException, InterruptedException { return stage.toCompletableFuture().get(); } public CompletionStage<T> toCompletionStage() { return stage; } }
java
Uttar Pradesh Pollution Control Board has directed the brick kiln industry to change technology from natural draft to induced draft within 90 days. CSE says the technology is inadequate and will not lead to reduction in pollution. Worse, because of erratic power supply, kiln owners will have to run a diesel generator if they shift to induced draft kilns -- which will add to the pollution. A clear technological roadmap for the sector needs to be developed, including changing over to fly ash brick manufacturing. New Delhi, May 9, 2016: At a time when a range of measures is being taken to tackle air pollution in Delhi-NCR, the Uttar Pradesh government’s efforts to reduce pollution from brick kilns seems all set to backfire. The Uttar Pradesh Pollution Control Board (UPPCB) has issued a notice to brick entrepreneurs of Ghaziabad, Gautam Budh Nagar and Hapur. The notice directs brick kilns in these three districts to convert from natural draft kilns to induced draft kilns in 90 days. The step has been ostensibly taken to reduce air pollution from brick kiln sources, to improve the air quality in Delhi and NCR. It is estimated that the brick kiln sector is the fourth largest contributor to PM10 emissions in the NCR region after transport, road dust and thermal power plants. While brick manufacturing has been banned in Delhi, it has thrived in areas surrounding the capital; the NCR’s massive thrust on construction has given it the boost. There are around 700 brick kilns in the three districts of Ghaziabad, Gautam Budh Nagar and Hapur. Most of these kilns are natural draft Bulls Trench Kilns. “The notification should have also addressed issues such as arrangement of bricks, fuel feeding mechanisms and air flow which are very important factors to ensure pollution reduction," adds Bhushan. In addition, point out CSE researchers, the notification should also include a change-over to fly ash brick manufacturing. Experiences from other states suggest that pollution reduction from kilns working on induced draft has not been satisfactory. Worse still, in view of erratic power supply, kiln owners will have to run a diesel generator set to operate the fan if they shift to induced draft kilns, which will add to the pollution. The UPPCB notification also misses the opportunity to move brick kiln operators of NCR to flyash brick making. Power plants in and around Delhi have huge stocks of unutilised ash in their ponds which is also one of the major contributors to air pollution in Delhi-NCR. During summer, coal and fly ash contribute about 30 per cent of PM10 emissions. A CSE analysis shows that the pond ash availability in Dadri and Badarpur is around 12 and 12.5 million tonnes respectively. Ghaziabad, Gautam Budh Nagar and Hapur together supply nearly two billion bricks to New Delhi and surrounding regions – these bricks have a potential to utilise over 2 million tonnes of fly ash. There is adequate technical understanding and experience available in the country today to reduce pollution from the brick kiln industry. "The UPPCB and the brick kilns owners can use these to make the right technological choices that will help in reducing air pollution in the NCR region as well as modernise the brick industry," says Bhushan. The UPPCB needs to come up with a clear technological roadmap for the brick sector, to effectively contribute towards curbing air pollution. CSE recommends that the notification should be amended – it should state that the existing natural draft Bulls Trench Kiln should be replaced with cleaner technologies such as natural or induced draft Zig-Zag Kiln, VSBK, Hoffman or Tunnel Kiln. Other details such as arrangement of bricks, air flow and fuel feeding mechanism should be clearly mentioned. In addition, the notification should also encourage a change-over to fly ash brick manufacturing. The State Pollution Control Boards of Haryana and Rajasthan should identify brick kilns as an important source of air pollution and direct them to switch to cleaner technologies. For more on this, please contact Souparno Banerjee of CSE’s Media Resource Centre at souparno@cseindia.org, 9910864339.
english
<gh_stars>0 --- title: Azure Service Bus prefetch berichten | Microsoft Docs description: De prestaties verbeteren door veelgevraagde Azure Service Bus-berichten. services: service-bus-messaging documentationcenter: author: clemensv manager: timlt editor: ms.service: service-bus-messaging ms.workload: na ms.tgt_pltfrm: na ms.devlang: na ms.topic: article ms.date: 10/04/2017 ms.author: sethm ms.openlocfilehash: 4a4a06f90c2c48d35d836f0be89fec9cc47f32c0 ms.sourcegitcommit: 6699c77dcbd5f8a1a2f21fba3d0a0005ac9ed6b7 ms.translationtype: MT ms.contentlocale: nl-NL ms.lasthandoff: 10/11/2017 --- # <a name="prefetch-azure-service-bus-messages"></a>Prefetch Azure Service Bus-berichten Wanneer *Prefetch* is ingeschakeld in een van de officiële Service Bus-clients, de ontvanger stil verkrijgt meer berichten tot de [PrefetchCount](/dotnet/api/microsoft.azure.servicebus.queueclient.prefetchcount#Microsoft_Azure_ServiceBus_QueueClient_PrefetchCount) limiet, afgezien van wat de toepassing in eerste instantie gevraagd. Een enkele initiële [ontvangen](/dotnet/api/microsoft.servicebus.messaging.queueclient.receive) of [ReceiveAsync](/dotnet/api/microsoft.azure.servicebus.core.messagereceiver.receiveasync) aanroep verkrijgt daarom een bericht voor onmiddellijke consumptie die wordt geretourneerd zo snel als beschikbaar. De client vervolgens ontvangt verdere berichten op de achtergrond voor het vervullen van de buffer prefetch. ## <a name="enable-prefetch"></a>Prefetch inschakelen In .NET, schakelt u de functie Prefetch door in te stellen de [PrefetchCount](/dotnet/api/microsoft.azure.servicebus.queueclient.prefetchcount#Microsoft_Azure_ServiceBus_QueueClient_PrefetchCount) eigenschap van een **MessageReceiver**, **QueueClient**, of **SubscriptionClient** naar een getal groter dan nul. Als de waarde nul schakelt prefetch. U kunt deze instelling eenvoudig toevoegen aan de receive-zijde van de [QueuesGettingStarted](https://github.com/Azure/azure-service-bus/tree/master/samples/DotNet/Microsoft.ServiceBus.Messaging/QueuesGettingStarted) of [ReceiveLoop](https://github.com/Azure/azure-service-bus/tree/master/samples/DotNet/Microsoft.ServiceBus.Messaging/ReceiveLoop) voorbeelden de instellingen voor een overzicht van het effect in deze context. Berichten zijn beschikbaar in de buffer prefetch alle daaropvolgende **ontvangen**/**ReceiveAsync** aanroepen onmiddellijk uit de buffer is voldaan, en de buffer wordt aangevuld de Zodra er ruimte beschikbaar op de achtergrond. Als er geen berichten beschikbaar voor de levering van zijn, de ontvangstbewerking wordt leeggemaakt de buffer en wacht of blokken bij, zoals verwacht. Prefetch werkt ook op dezelfde manier als met de [OnMessage](/dotnet/api/microsoft.servicebus.messaging.queueclient.onmessage) en [OnMessageAsync](/dotnet/api/microsoft.servicebus.messaging.queueclient.onmessageasync) API's. ## <a name="if-it-is-faster-why-is-prefetch-not-the-default-option"></a>Als het is sneller en waarom Prefetch niet de standaardoptie? Prefetch sneller de berichtenstroom wanneer er een bericht direct beschikbaar is voor het ophalen van lokale wanneer en voordat de toepassing wordt gevraagd om een. Het voordeel van deze doorvoer is het resultaat van een afweging beslissing die de auteur van de toepassing moet expliciet aanbrengen: Met de [ReceiveAndDelete](/dotnet/api/microsoft.azure.servicebus.receivemode.receiveanddelete) modus ontvangen, worden alle berichten die zijn verkregen in de buffer prefetch zijn niet meer beschikbaar in de wachtrij en alleen bevinden zich in de buffer in het geheugen prefetch totdat ze worden ontvangen in de toepassing via de **ontvangen**/**ReceiveAsync** of **OnMessage**/**OnMessageAsync** API's. Als de toepassing wordt beëindigd voordat de berichten worden ontvangen in de toepassing, zijn deze berichten permanent verloren. In de [PeekLock](/dotnet/api/microsoft.azure.servicebus.receivemode.peeklock) modus ontvangen, berichten in de buffer Prefetch opgehaalde zijn verkregen in de buffer in een vergrendelde status en de klok time-out voor de vergrendeling tikken hebben. Als de prefetch-buffer groot is en verwerking te lang waardoor bericht vergrendelingen duurt tijdens die zich in de buffer prefetch of zelfs terwijl de toepassing het bericht wordt verwerkt, is er mogelijk enkele verwarrend gebeurtenissen voor de toepassing om te verwerken. De toepassing mogelijk een bericht met een verlopen of imminently verlopende vergrendeling verkrijgen. Zo ja, de toepassing kan verwerken van het bericht, maar gaat u naar dat niet kan deze worden voltooid vanwege het verlopen van een vergrendeling. De toepassing kunt controleren de [LockedUntilUtc](/dotnet/api/microsoft.azure.servicebus.core.messagereceiver.lockeduntilutc#Microsoft_Azure_ServiceBus_Core_MessageReceiver_LockedUntilUtc) eigenschap (dit is onderworpen aan het tijdsverschil tussen de broker en klok van de lokale computer). Als de vergrendeling van het bericht is verlopen, de toepassing moet worden gebruikt voor het negeren van het bericht. Er is geen API-aanroep of met het bericht moet worden aangebracht. Als het bericht niet is verlopen, maar verlopen handen is, de vergrendeling kan worden vernieuwd en uitgebreid door een andere standaardperiode voor vergrendeling door aan te roepen [bericht. RenewLock()](/dotnet/api/microsoft.azure.servicebus.core.messagereceiver.renewlockasync#Microsoft_Azure_ServiceBus_Core_MessageReceiver_RenewLockAsync_System_String_) Als de vergrendeling achtergrond in de buffer prefetch verloopt, wordt het bericht wordt behandeld als afgeschaft en wordt opnieuw beschikbaar gesteld voor ophalen uit de wachtrij. Dat kan ertoe leiden dat deze worden opgehaald in de buffer prefetch; aan het einde geplaatst. Als de prefetch-buffer kan niet tijdens de verloopdatum voor het bericht meestal via worden gewerkt, hierdoor berichten herhaaldelijk prefetched maar nooit effectief geleverde zich in een bruikbaar (geldige vergrendelde) staat en uiteindelijk verplaatst naar de wachtrij voor onbestelbare berichten eenmaal de levering van het maximum aantal is overschreden. Als u een hoge mate van betrouwbaarheid nodig voor de verwerking van berichten en verwerking aanzienlijke werkbelasting en de tijd duurt, wordt het aanbevolen dat u de functie prefetch conservatieve of helemaal niet. Als u hoog in de gehele moet en berichtverwerking vaak goedkope is, levert prefetch doorvoer aanzienlijke voordelen. Het aantal maximale prefetch en de duur van de vergrendeling is geconfigureerd voor de wachtrij of een abonnement moeten worden verdeeld, zodat de time-out van de vergrendeling ten minste overschrijdt de cumulatieve verwacht bericht verwerkingstijd voor de maximale grootte van de buffer prefetch, plus één bericht. Op hetzelfde moment de time-out van de vergrendeling zou niet moeten zo lang dat berichten groter zijn dan de maximale [TimeToLive](/dotnet/api/microsoft.azure.servicebus.message.timetolive#Microsoft_Azure_ServiceBus_Message_TimeToLive) wanneer ze per ongeluk worden verwijderd, waardoor de vergrendeling verloopt voordat opnieuw wordt bezorgd vereisen. ## <a name="next-steps"></a>Volgende stappen Zie voor meer informatie over Service Bus-berichtenservice, de volgende onderwerpen: * [Grondbeginselen van Service Bus](service-bus-fundamentals-hybrid-solutions.md) * [Service Bus-wachtrijen, -onderwerpen en -abonnementen](service-bus-queues-topics-subscriptions.md) * [Aan de slag met Service Bus-wachtrijen](service-bus-dotnet-get-started-with-queues.md) * [Service Bus-onderwerpen en -abonnementen gebruiken](service-bus-dotnet-how-to-use-topics-subscriptions.md)
markdown
<reponame>georgebisbas/devitoproject.github.io<filename>devito/genindex.html<gh_stars>0 <!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Index &mdash; Devito 1 documentation</title> <link rel="stylesheet" href="_static/css/theme.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <link rel="index" title="Index" href="#" /> <link rel="search" title="Search" href="search.html" /> <script src="_static/js/modernizr.min.js"></script> </head> <body class="wy-body-for-nav"> <div class="wy-grid-for-nav"> <nav data-toggle="wy-nav-shift" class="wy-nav-side"> <div class="wy-side-scroll"> <div class="wy-side-nav-search"> <a href="index.html" class="icon icon-home"> Devito </a> <div class="version"> 0 </div> <div role="search"> <form id="rtd-search-form" class="wy-form" action="search.html" method="get"> <input type="text" name="q" placeholder="Search docs" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> </div> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <ul> <li class="toctree-l1"><a class="reference internal" href="download.html">Download</a></li> <li class="toctree-l1"><a class="reference internal" href="tutorials.html">Tutorials</a></li> <li class="toctree-l1"><a class="reference internal" href="developer.html">Developer Documentation</a></li> <li class="toctree-l1"><a class="reference internal" href="examples.html">Example Documentation</a></li> <li class="toctree-l1"><a class="reference internal" href="devito.html">API Documentation</a></li> </ul> </div> </div> </nav> <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"> <nav class="wy-nav-top" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> <a href="index.html">Devito</a> </nav> <div class="wy-nav-content"> <div class="rst-content"> <div role="navigation" aria-label="breadcrumbs navigation"> <ul class="wy-breadcrumbs"> <li><a href="index.html">Docs</a> &raquo;</li> <li>Index</li> <li class="wy-breadcrumbs-aside"> </li> </ul> <hr/> </div> <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> <div itemprop="articleBody"> <h1 id="index">Index</h1> <div class="genindex-jumpbox"> <a href="#A"><strong>A</strong></a> | <a href="#B"><strong>B</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#D"><strong>D</strong></a> | <a href="#E"><strong>E</strong></a> | <a href="#F"><strong>F</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#H"><strong>H</strong></a> | <a href="#I"><strong>I</strong></a> | <a href="#J"><strong>J</strong></a> | <a href="#K"><strong>K</strong></a> | <a href="#L"><strong>L</strong></a> | <a href="#M"><strong>M</strong></a> | <a href="#N"><strong>N</strong></a> | <a href="#O"><strong>O</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#Q"><strong>Q</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> | <a href="#T"><strong>T</strong></a> | <a href="#U"><strong>U</strong></a> | <a href="#V"><strong>V</strong></a> | <a href="#W"><strong>W</strong></a> | <a href="#X"><strong>X</strong></a> | <a href="#Z"><strong>Z</strong></a> </div> <h2 id="A">A</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.dle.backends.html#devito.dle.backends.common.AbstractRewriter">AbstractRewriter (class in devito.dle.backends.common)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.common.AbstractRewriter">(class in devito.dse.backends.common)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access">Access (class in devito.ir.support.basic)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.accesses">accesses (devito.ir.support.basic.Scope attribute)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.acoustic_example.acoustic_setup">acoustic_setup() (in module examples.seismic.acoustic.acoustic_example)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver">AcousticWaveSolver (class in examples.seismic.acoustic.wavesolver)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Add">Add (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.add">add() (devito.ir.support.space.Interval method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.add">(devito.ir.support.space.IntervalGroup method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.add">(devito.ir.support.stencil.Stencil method)</a> </li> </ul></li> <li><a href="devito.html#devito.parameters.add_sub_configuration">add_sub_configuration() (in module devito.parameters)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.adjoint">adjoint() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.operators.AdjointOperator">AdjointOperator() (in module examples.seismic.acoustic.operators)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.advanced.AdvancedRewriter">AdvancedRewriter (class in devito.dle.backends.advanced)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.advanced.AdvancedRewriter">(class in devito.dse.backends.advanced)</a> </li> </ul></li> <li><a href="devito.dle.backends.html#devito.dle.backends.advanced.AdvancedRewriterSafeMath">AdvancedRewriterSafeMath (class in devito.dle.backends.advanced)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.AFFINE">AFFINE (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.affine">affine() (devito.ir.support.basic.IterationInstance method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.affine_if_present">affine_if_present() (devito.ir.support.basic.IterationInstance method)</a> </li> <li><a href="devito.dse.backends.html#devito.dse.backends.speculative.AggressiveRewriter">AggressiveRewriter (class in devito.dse.backends.speculative)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.aindices">aindices (devito.ir.support.basic.IterationInstance attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.align_accesses">align_accesses() (in module devito.ir.support.utils)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.all_coords">all_coords (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.all_numb">all_numb (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.all_ranges">all_ranges (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.html#devito.cgen_utils.Allocator">Allocator (class in devito.cgen_utils)</a> </li> <li><a href="examples.cfd.html#examples.cfd.example_diffusion.animate">animate() (in module examples.cfd.example_diffusion)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.wavesolver.AnisotropicWaveSolver">AnisotropicWaveSolver (class in examples.seismic.tti.wavesolver)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Any">Any (in module devito.ir.support.space)</a> </li> <li><a href="devito.html#devito.operator.OperatorRunnable.apply">apply() (devito.operator.OperatorRunnable method)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.common.Arg">Arg (class in devito.dle.backends.common)</a> </li> <li><a href="devito.tools.html#devito.tools.abc.ArgProvider">ArgProvider (class in devito.tools.abc)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.args">args (devito.ir.iet.nodes.Node attribute)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.args">(devito.ir.support.space.IterationSpace attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.args_frozen">args_frozen (devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.html#devito.operator.Operator.arguments">arguments() (devito.operator.Operator method)</a> </li> <li><a href="devito.html#devito.base.Array">Array (class in devito.base)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ArrayCast">ArrayCast (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.as_mapper">as_mapper() (in module devito.tools.utils)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.as_symbol">as_symbol() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.as_tuple">as_tuple() (in module devito.tools.utils)</a> </li> <li><a href="devito.html#devito.at_setup">at_setup (class in devito)</a> </li> <li><a href="devito.core.html#devito.core.autotuning.autotune">autotune() (in module devito.core.autotuning)</a> </li> <li><a href="devito.html#devito.function.Function.avg">avg() (devito.function.Function method)</a> </li> </ul></td> </tr></table> <h2 id="B">B</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.function.TimeFunction.backward">backward (devito.function.TimeFunction attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Backward">Backward (in module devito.ir.support.space)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.base">base (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FunctionFromPointer.base">(devito.symbolics.extended_sympy.FunctionFromPointer attribute)</a> </li> </ul></li> <li><a href="devito.dle.backends.html#devito.dle.backends.basic.BasicRewriter">BasicRewriter (class in devito.dle.backends.basic)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.basic.BasicRewriter">(class in devito.dse.backends.basic)</a> </li> </ul></li> <li><a href="examples.seismic.html#examples.seismic.benchmark.bench">bench() (in module examples.seismic.benchmark)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.bhaskara_cos">bhaskara_cos (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.bhaskara_sin">bhaskara_sin (class in devito.symbolics.extended_sympy)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Block">Block (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.common.BlockingArg">BlockingArg (class in devito.dle.backends.common)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.born">born() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.operators.BornOperator">BornOperator() (in module examples.seismic.acoustic.operators)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.bounds">bounds() (devito.ir.iet.nodes.Iteration method)</a> </li> <li><a href="devito.html#devito.function.Buffer">Buffer (class in devito.function)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.build_intervals">build_intervals() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.build_iterators">build_iterators() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.Bunch">Bunch (class in devito.tools.data_structures)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Byref">Byref (class in devito.symbolics.extended_sympy)</a> </li> </ul></td> </tr></table> <h2 id="C">C</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.base.CacheManager">CacheManager (class in devito.base)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Call">Call (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Callable">Callable (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.CondEq.canonical">canonical (devito.symbolics.extended_sympy.CondEq attribute)</a> <ul> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.CondNe.canonical">(devito.symbolics.extended_sympy.CondNe attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.compiler.GNUCompiler.CC">CC (devito.compiler.GNUCompiler attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.ccode">ccode (devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.html#devito.cgen_utils.ccode">ccode() (in module devito.cgen_utils)</a> </li> <li><a href="devito.html#devito.operator.Operator.cfunction">cfunction (devito.operator.Operator attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen">CGen (class in devito.ir.iet.visitors)</a> </li> <li><a href="examples.misc.html#examples.misc.linalg.chain_contractions">chain_contractions() (in module examples.misc.linalg)</a> </li> <li><a href="devito.tools.html#devito.tools.os_helper.change_directory">change_directory (class in devito.tools.os_helper)</a> </li> <li><a href="devito.tools.html#devito.tools.validators.validate_type.check_arg">check_arg() (devito.tools.validators.validate_type method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.children">children (devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster">Cluster (class in devito.ir.clusters.cluster)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.ClusterGroup">ClusterGroup (class in devito.ir.clusters.cluster)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.algorithms.clusterize">clusterize() (in module devito.ir.clusters.algorithms)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.ClusterizedEq">ClusterizedEq (class in devito.ir.equations.equation)</a> </li> <li><a href="devito.html#devito.cgen_utils.CodePrinter">CodePrinter (class in devito.cgen_utils)</a> </li> <li><a href="devito.html#devito.function.PrecomputedSparseFunction.coefficients">coefficients (devito.function.PrecomputedSparseFunction attribute)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.parallelizer.Ompizer.COLLAPSE">COLLAPSE (devito.dle.backends.parallelizer.Ompizer attribute)</a> </li> <li><a href="devito.dse.html#devito.dse.aliases.collect">collect() (in module devito.dse.aliases)</a> </li> <li><a href="devito.dse.html#devito.dse.manipulation.collect_nested">collect_nested() (in module devito.dse.manipulation)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.comm">comm (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.dse.html#devito.dse.manipulation.common_subexprs_elimination">common_subexprs_elimination() (in module devito.dse.manipulation)</a> </li> <li><a href="devito.dse.html#devito.dse.manipulation.compact_temporaries">compact_temporaries() (in module devito.dse.manipulation)</a> </li> <li><a href="devito.html#devito.exceptions.CompilationError">CompilationError</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.utils.compose_nodes">compose_nodes() (in module devito.ir.iet.utils)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FieldFromComposite.composite">composite (devito.symbolics.extended_sympy.FieldFromComposite attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.CondEq">CondEq (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.html#devito.dimension.ConditionalDimension.condition">condition (devito.dimension.ConditionalDimension attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Conditional">Conditional (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.html#devito.dimension.ConditionalDimension">ConditionalDimension (class in devito.dimension)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.CondNe">CondNe (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.html#devito.parameters.configuration">configuration (in module devito.parameters)</a> </li> <li><a href="devito.html#devito.base.Constant">Constant (class in devito.base)</a> <ul> <li><a href="devito.html#devito.function.Constant">(class in devito.function)</a> </li> </ul></li> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.convert_to_SSA">convert_to_SSA() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.html#devito.function.SparseFunction.coordinates">coordinates (devito.function.SparseFunction attribute)</a> </li> <li><a href="devito.html#devito.function.SparseFunction.coordinates_data">coordinates_data (devito.function.SparseFunction attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.copy">copy() (devito.ir.support.stencil.Stencil method)</a> <ul> <li><a href="devito.tools.html#devito.tools.data_structures.DefaultOrderedDict.copy">(devito.tools.data_structures.DefaultOrderedDict method)</a> </li> <li><a href="devito.mpi.html#devito.mpi.routines.copy">(in module devito.mpi.routines)</a> </li> </ul></li> <li><a href="devito.symbolics.html#devito.symbolics.inspection.count">count() (in module devito.symbolics.inspection)</a> </li> <li><a href="devito.html#devito.compiler.GNUCompiler.CPP">CPP (devito.compiler.GNUCompiler attribute)</a> </li> <li><a href="devito.html#devito.profiling.create_profile">create_profile() (in module devito.profiling)</a> </li> <li><a href="examples.seismic.html#examples.seismic.model.Model.critical_dt">critical_dt (examples.seismic.model.Model attribute)</a> <ul> <li><a href="examples.seismic.html#examples.seismic.model.ModelElastic.critical_dt">(examples.seismic.model.ModelElastic attribute)</a> </li> </ul></li> <li><a href="devito.dse.html#devito.dse.manipulation.cross_cluster_cse">cross_cluster_cse() (in module devito.dse.manipulation)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.finite_difference.cross_derivative">cross_derivative() (in module devito.finite_differences.finite_difference)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.ctypes_pointer">ctypes_pointer() (in module devito.tools.utils)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.ctypes_to_C">ctypes_to_C() (in module devito.tools.utils)</a> </li> <li><a href="devito.html#devito.cgen_utils.CodePrinter.custom_functions">custom_functions (devito.cgen_utils.CodePrinter attribute)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.advanced.CustomRewriter">CustomRewriter (class in devito.dle.backends.advanced)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.speculative.CustomRewriter">(class in devito.dse.backends.speculative)</a> </li> </ul></li> </ul></td> </tr></table> <h2 id="D">D</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.d_all">d_all (devito.ir.support.basic.Scope attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.d_anti">d_anti (devito.ir.support.basic.Scope attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.d_flow">d_flow (devito.ir.support.basic.Scope attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.d_output">d_output (devito.ir.support.basic.Scope attribute)</a> </li> <li><a href="devito.html#devito.function.Constant.data">data (devito.function.Constant attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.DataSpace">DataSpace (class in devito.ir.support.space)</a> </li> <li><a href="devito.tools.html#devito.tools.visitors.GenericVisitor.default_args">default_args (devito.tools.visitors.GenericVisitor attribute)</a> </li> <li><a href="devito.html#devito.base.Array.default_assumptions">default_assumptions (devito.base.Array attribute)</a> <ul> <li><a href="devito.html#devito.base.CacheManager.default_assumptions">(devito.base.CacheManager attribute)</a> </li> <li><a href="devito.html#devito.base.Constant.default_assumptions">(devito.base.Constant attribute)</a> </li> <li><a href="devito.html#devito.base.Function.default_assumptions">(devito.base.Function attribute)</a> </li> <li><a href="devito.html#devito.base.Grid.default_assumptions">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.default_assumptions">(devito.base.Operator attribute)</a> </li> <li><a href="devito.html#devito.base.PrecomputedSparseFunction.default_assumptions">(devito.base.PrecomputedSparseFunction attribute)</a> </li> <li><a href="devito.html#devito.base.PrecomputedSparseTimeFunction.default_assumptions">(devito.base.PrecomputedSparseTimeFunction attribute)</a> </li> <li><a href="devito.html#devito.base.Scalar.default_assumptions">(devito.base.Scalar attribute)</a> </li> <li><a href="devito.html#devito.base.SparseFunction.default_assumptions">(devito.base.SparseFunction attribute)</a> </li> <li><a href="devito.html#devito.base.SparseTimeFunction.default_assumptions">(devito.base.SparseTimeFunction attribute)</a> </li> <li><a href="devito.html#devito.base.TimeFunction.default_assumptions">(devito.base.TimeFunction attribute)</a> </li> <li><a href="devito.html#devito.cgen_utils.DOUBLE.default_assumptions">(devito.cgen_utils.DOUBLE attribute)</a> </li> <li><a href="devito.html#devito.cgen_utils.FLOAT.default_assumptions">(devito.cgen_utils.FLOAT attribute)</a> </li> <li><a href="devito.html#devito.cgen_utils.INT.default_assumptions">(devito.cgen_utils.INT attribute)</a> </li> <li><a href="devito.html#devito.dimension.ConditionalDimension.default_assumptions">(devito.dimension.ConditionalDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.DefaultDimension.default_assumptions">(devito.dimension.DefaultDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.default_assumptions">(devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.SpaceDimension.default_assumptions">(devito.dimension.SpaceDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.SteppingDimension.default_assumptions">(devito.dimension.SteppingDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.default_assumptions">(devito.dimension.SubDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.TimeDimension.default_assumptions">(devito.dimension.TimeDimension attribute)</a> </li> <li><a href="devito.html#devito.equation.Eq.default_assumptions">(devito.equation.Eq attribute)</a> </li> <li><a href="devito.html#devito.equation.Inc.default_assumptions">(devito.equation.Inc attribute)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.differentiable.Differentiable.default_assumptions">(devito.finite_differences.differentiable.Differentiable attribute)</a> </li> <li><a href="devito.html#devito.function.Constant.default_assumptions">(devito.function.Constant attribute)</a> </li> <li><a href="devito.html#devito.function.Function.default_assumptions">(devito.function.Function attribute)</a> </li> <li><a href="devito.html#devito.function.PrecomputedSparseFunction.default_assumptions">(devito.function.PrecomputedSparseFunction attribute)</a> </li> <li><a href="devito.html#devito.function.PrecomputedSparseTimeFunction.default_assumptions">(devito.function.PrecomputedSparseTimeFunction attribute)</a> </li> <li><a href="devito.html#devito.function.SparseFunction.default_assumptions">(devito.function.SparseFunction attribute)</a> </li> <li><a href="devito.html#devito.function.SparseTimeFunction.default_assumptions">(devito.function.SparseTimeFunction attribute)</a> </li> <li><a href="devito.html#devito.function.TimeFunction.default_assumptions">(devito.function.TimeFunction attribute)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.ClusterizedEq.default_assumptions">(devito.ir.equations.equation.ClusterizedEq attribute)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.DummyEq.default_assumptions">(devito.ir.equations.equation.DummyEq attribute)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.LoweredEq.default_assumptions">(devito.ir.equations.equation.LoweredEq attribute)</a> </li> <li><a href="devito.html#devito.profiling.Timer.default_assumptions">(devito.profiling.Timer attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Add.default_assumptions">(devito.symbolics.extended_sympy.Add attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Byref.default_assumptions">(devito.symbolics.extended_sympy.Byref attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.CondEq.default_assumptions">(devito.symbolics.extended_sympy.CondEq attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.CondNe.default_assumptions">(devito.symbolics.extended_sympy.CondNe attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Eq.default_assumptions">(devito.symbolics.extended_sympy.Eq attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FieldFromComposite.default_assumptions">(devito.symbolics.extended_sympy.FieldFromComposite attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FieldFromPointer.default_assumptions">(devito.symbolics.extended_sympy.FieldFromPointer attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FrozenExpr.default_assumptions">(devito.symbolics.extended_sympy.FrozenExpr attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FunctionFromPointer.default_assumptions">(devito.symbolics.extended_sympy.FunctionFromPointer attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.IntDiv.default_assumptions">(devito.symbolics.extended_sympy.IntDiv attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.ListInitializer.default_assumptions">(devito.symbolics.extended_sympy.ListInitializer attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Macro.default_assumptions">(devito.symbolics.extended_sympy.Macro attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Mul.default_assumptions">(devito.symbolics.extended_sympy.Mul attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Pow.default_assumptions">(devito.symbolics.extended_sympy.Pow attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.bhaskara_cos.default_assumptions">(devito.symbolics.extended_sympy.bhaskara_cos attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.bhaskara_sin.default_assumptions">(devito.symbolics.extended_sympy.bhaskara_sin attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.taylor_cos.default_assumptions">(devito.symbolics.extended_sympy.taylor_cos attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.taylor_sin.default_assumptions">(devito.symbolics.extended_sympy.taylor_sin attribute)</a> </li> <li><a href="devito.html#devito.types.Indexed.default_assumptions">(devito.types.Indexed attribute)</a> </li> <li><a href="devito.html#devito.types.Symbol.default_assumptions">(devito.types.Symbol attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.GaborSource.default_assumptions">(examples.seismic.source.GaborSource attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.PointSource.default_assumptions">(examples.seismic.source.PointSource attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.RickerSource.default_assumptions">(examples.seismic.source.RickerSource attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.WaveletSource.default_assumptions">(examples.seismic.source.WaveletSource attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindAdjacent.default_retval">default_retval() (devito.ir.iet.visitors.FindAdjacent class method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindNodes.default_retval">(devito.ir.iet.visitors.FindNodes class method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections.default_retval">(devito.ir.iet.visitors.FindSections class method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.default_retval">(devito.ir.iet.visitors.FindSymbols class method)</a> </li> <li><a href="devito.tools.html#devito.tools.visitors.GenericVisitor.default_retval">(devito.tools.visitors.GenericVisitor class method)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.DefaultDimension">DefaultDimension (class in devito.dimension)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.DefaultOrderedDict">DefaultOrderedDict (class in devito.tools.data_structures)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ArrayCast.defines">defines (devito.ir.iet.nodes.ArrayCast attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Block.defines">(devito.ir.iet.nodes.Block attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Call.defines">(devito.ir.iet.nodes.Call attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Conditional.defines">(devito.ir.iet.nodes.Conditional attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.defines">(devito.ir.iet.nodes.Expression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.defines">(devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.LocalExpression.defines">(devito.ir.iet.nodes.LocalExpression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.defines">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="examples.seismic.html#examples.seismic.model.demo_model">demo_model() (in module examples.seismic.model)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Denormals">Denormals (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.utils.derive_parameters">derive_parameters() (in module devito.ir.iet.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.detect_accesses">detect_accesses() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.detect_flow_directions">detect_flow_directions() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.detect_io">detect_io() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.detect_oobs">detect_oobs() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.html#module-devito">devito (module)</a> </li> <li><a href="devito.html#module-devito.backends">devito.backends (module)</a> </li> <li><a href="devito.html#module-devito.base">devito.base (module)</a> </li> <li><a href="devito.html#module-devito.cgen_utils">devito.cgen_utils (module)</a> </li> <li><a href="devito.html#module-devito.compiler">devito.compiler (module)</a> </li> <li><a href="devito.core.html#module-devito.core">devito.core (module)</a> </li> <li><a href="devito.core.html#module-devito.core.autotuning">devito.core.autotuning (module)</a> </li> <li><a href="devito.core.html#module-devito.core.operator">devito.core.operator (module)</a> </li> <li><a href="devito.html#module-devito.data">devito.data (module)</a> </li> <li><a href="devito.html#module-devito.dimension">devito.dimension (module)</a> </li> <li><a href="devito.dle.html#module-devito.dle">devito.dle (module)</a> </li> <li><a href="devito.dle.backends.html#module-devito.dle.backends">devito.dle.backends (module)</a> </li> <li><a href="devito.dle.backends.html#module-devito.dle.backends.advanced">devito.dle.backends.advanced (module)</a> </li> <li><a href="devito.dle.backends.html#module-devito.dle.backends.basic">devito.dle.backends.basic (module)</a> </li> <li><a href="devito.dle.backends.html#module-devito.dle.backends.common">devito.dle.backends.common (module)</a> </li> <li><a href="devito.dle.backends.html#module-devito.dle.backends.parallelizer">devito.dle.backends.parallelizer (module)</a> </li> <li><a href="devito.dle.backends.html#module-devito.dle.backends.utils">devito.dle.backends.utils (module)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.dle.html#module-devito.dle.blocking_utils">devito.dle.blocking_utils (module)</a> </li> <li><a href="devito.dle.html#module-devito.dle.transformer">devito.dle.transformer (module)</a> </li> <li><a href="devito.dse.html#module-devito.dse">devito.dse (module)</a> </li> <li><a href="devito.dse.html#module-devito.dse.aliases">devito.dse.aliases (module)</a> </li> <li><a href="devito.dse.backends.html#module-devito.dse.backends">devito.dse.backends (module)</a> </li> <li><a href="devito.dse.backends.html#module-devito.dse.backends.advanced">devito.dse.backends.advanced (module)</a> </li> <li><a href="devito.dse.backends.html#module-devito.dse.backends.basic">devito.dse.backends.basic (module)</a> </li> <li><a href="devito.dse.backends.html#module-devito.dse.backends.common">devito.dse.backends.common (module)</a> </li> <li><a href="devito.dse.backends.html#module-devito.dse.backends.speculative">devito.dse.backends.speculative (module)</a> </li> <li><a href="devito.dse.html#module-devito.dse.manipulation">devito.dse.manipulation (module)</a> </li> <li><a href="devito.dse.html#module-devito.dse.transformer">devito.dse.transformer (module)</a> </li> <li><a href="devito.html#module-devito.equation">devito.equation (module)</a> </li> <li><a href="devito.html#module-devito.exceptions">devito.exceptions (module)</a> </li> <li><a href="devito.finite_differences.html#module-devito.finite_differences">devito.finite_differences (module)</a> </li> <li><a href="devito.finite_differences.html#module-devito.finite_differences.differentiable">devito.finite_differences.differentiable (module)</a> </li> <li><a href="devito.finite_differences.html#module-devito.finite_differences.finite_difference">devito.finite_differences.finite_difference (module)</a> </li> <li><a href="devito.html#module-devito.function">devito.function (module)</a> </li> <li><a href="devito.html#module-devito.grid">devito.grid (module)</a> </li> <li><a href="devito.ir.html#module-devito.ir">devito.ir (module)</a> </li> <li><a href="devito.ir.clusters.html#module-devito.ir.clusters">devito.ir.clusters (module)</a> </li> <li><a href="devito.ir.clusters.html#module-devito.ir.clusters.algorithms">devito.ir.clusters.algorithms (module)</a> </li> <li><a href="devito.ir.clusters.html#module-devito.ir.clusters.cluster">devito.ir.clusters.cluster (module)</a> </li> <li><a href="devito.ir.clusters.html#module-devito.ir.clusters.graph">devito.ir.clusters.graph (module)</a> </li> <li><a href="devito.ir.equations.html#module-devito.ir.equations">devito.ir.equations (module)</a> </li> <li><a href="devito.ir.equations.html#module-devito.ir.equations.algorithms">devito.ir.equations.algorithms (module)</a> </li> <li><a href="devito.ir.equations.html#module-devito.ir.equations.equation">devito.ir.equations.equation (module)</a> </li> <li><a href="devito.ir.iet.html#module-devito.ir.iet">devito.ir.iet (module)</a> </li> <li><a href="devito.ir.iet.html#module-devito.ir.iet.analysis">devito.ir.iet.analysis (module)</a> </li> <li><a href="devito.ir.iet.html#module-devito.ir.iet.nodes">devito.ir.iet.nodes (module)</a> </li> <li><a href="devito.ir.iet.html#module-devito.ir.iet.properties">devito.ir.iet.properties (module)</a> </li> <li><a href="devito.ir.iet.html#module-devito.ir.iet.scheduler">devito.ir.iet.scheduler (module)</a> </li> <li><a href="devito.ir.iet.html#module-devito.ir.iet.utils">devito.ir.iet.utils (module)</a> </li> <li><a href="devito.ir.iet.html#module-devito.ir.iet.visitors">devito.ir.iet.visitors (module)</a> </li> <li><a href="devito.ir.stree.html#module-devito.ir.stree">devito.ir.stree (module)</a> </li> <li><a href="devito.ir.stree.html#module-devito.ir.stree.algorithms">devito.ir.stree.algorithms (module)</a> </li> <li><a href="devito.ir.stree.html#module-devito.ir.stree.tree">devito.ir.stree.tree (module)</a> </li> <li><a href="devito.ir.support.html#module-devito.ir.support">devito.ir.support (module)</a> </li> <li><a href="devito.ir.support.html#module-devito.ir.support.basic">devito.ir.support.basic (module)</a> </li> <li><a href="devito.ir.support.html#module-devito.ir.support.space">devito.ir.support.space (module)</a> </li> <li><a href="devito.ir.support.html#module-devito.ir.support.stencil">devito.ir.support.stencil (module)</a> </li> <li><a href="devito.ir.support.html#module-devito.ir.support.utils">devito.ir.support.utils (module)</a> </li> <li><a href="devito.html#module-devito.logger">devito.logger (module)</a> </li> <li><a href="devito.mpi.html#module-devito.mpi">devito.mpi (module)</a> </li> <li><a href="devito.mpi.html#module-devito.mpi.distributed">devito.mpi.distributed (module)</a> </li> <li><a href="devito.mpi.html#module-devito.mpi.halo_scheme">devito.mpi.halo_scheme (module)</a> </li> <li><a href="devito.mpi.html#module-devito.mpi.routines">devito.mpi.routines (module)</a> </li> <li><a href="devito.mpi.html#module-devito.mpi.utils">devito.mpi.utils (module)</a> </li> <li><a href="devito.html#module-devito.operator">devito.operator (module)</a> </li> <li><a href="devito.html#module-devito.parameters">devito.parameters (module)</a> </li> <li><a href="devito.html#module-devito.profiling">devito.profiling (module)</a> </li> <li><a href="devito.symbolics.html#module-devito.symbolics">devito.symbolics (module)</a> </li> <li><a href="devito.symbolics.html#module-devito.symbolics.extended_sympy">devito.symbolics.extended_sympy (module)</a> </li> <li><a href="devito.symbolics.html#module-devito.symbolics.inspection">devito.symbolics.inspection (module)</a> </li> <li><a href="devito.symbolics.html#module-devito.symbolics.manipulation">devito.symbolics.manipulation (module)</a> </li> <li><a href="devito.symbolics.html#module-devito.symbolics.queries">devito.symbolics.queries (module)</a> </li> <li><a href="devito.symbolics.html#module-devito.symbolics.search">devito.symbolics.search (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools">devito.tools (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.abc">devito.tools.abc (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.algorithms">devito.tools.algorithms (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.data_structures">devito.tools.data_structures (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.memoization">devito.tools.memoization (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.os_helper">devito.tools.os_helper (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.utils">devito.tools.utils (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.validators">devito.tools.validators (module)</a> </li> <li><a href="devito.tools.html#module-devito.tools.visitors">devito.tools.visitors (module)</a> </li> <li><a href="devito.html#module-devito.types">devito.types (module)</a> </li> <li><a href="devito.html#devito.exceptions.DevitoError">DevitoError</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.diameter">diameter (devito.ir.support.stencil.Stencil attribute)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.differentiable.Differentiable">Differentiable (class in devito.finite_differences.differentiable)</a> </li> <li><a href="devito.html#devito.grid.Grid.dim">dim (devito.grid.Grid attribute)</a> <ul> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeIteration.dim">(devito.ir.stree.tree.NodeIteration attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.Dimension">Dimension (class in devito.dimension)</a> </li> <li><a href="devito.html#devito.grid.Grid.dimension_map">dimension_map (devito.grid.Grid attribute)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.algorithms.dimension_sort">dimension_sort() (in module devito.ir.equations.algorithms)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.dimensions">dimensions (devito.ir.iet.nodes.Expression attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.dimensions">(devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.dimensions">(devito.ir.support.space.IntervalGroup attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.dimensions">(devito.ir.support.space.IterationSpace attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.dimensions">(devito.ir.support.stencil.Stencil attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.dimensions">(devito.mpi.distributed.Distributor attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.dimensions">dimensions() (in module devito.dimension)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeIteration.direction">direction (devito.ir.stree.tree.NodeIteration attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.directions">directions (devito.ir.support.space.IterationSpace attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.distance">distance() (devito.ir.support.basic.IterationInstance method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess.distance">(devito.ir.support.basic.TimedAccess method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Vector.distance">(devito.ir.support.basic.Vector method)</a> </li> </ul></li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor">Distributor (class in devito.mpi.distributed)</a> </li> <li><a href="devito.html#devito.grid.Grid.distributor">distributor (devito.grid.Grid attribute)</a> </li> <li><a href="devito.html#devito.logger.dle">dle() (in module devito.logger)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.common.dle_pass">dle_pass() (in module devito.dle.backends.common)</a> </li> <li><a href="devito.html#devito.logger.dle_warning">dle_warning() (in module devito.logger)</a> </li> <li><a href="devito.html#devito.exceptions.DLEException">DLEException</a> </li> <li><a href="devito.html#devito.equation.DOMAIN">DOMAIN (in module devito.equation)</a> </li> <li><a href="devito.html#devito.cgen_utils.DOUBLE">DOUBLE (class in devito.cgen_utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.drop">drop() (devito.ir.support.space.IntervalGroup method)</a> </li> <li><a href="devito.html#devito.logger.dse">dse() (in module devito.logger)</a> </li> <li><a href="devito.dse.backends.html#devito.dse.backends.common.dse_pass">dse_pass() (in module devito.dse.backends.common)</a> </li> <li><a href="devito.html#devito.logger.dse_warning">dse_warning() (in module devito.logger)</a> </li> <li><a href="devito.html#devito.exceptions.DSEException">DSEException</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.dspace">dspace (devito.ir.clusters.cluster.Cluster attribute)</a> <ul> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.ClusterGroup.dspace">(devito.ir.clusters.cluster.ClusterGroup attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.Dimension.dtype">dtype (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.ClusterGroup.dtype">(devito.ir.clusters.cluster.ClusterGroup attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.dtype">(devito.ir.iet.nodes.Expression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression.dtype">(devito.ir.iet.nodes.ForeignExpression attribute)</a> </li> <li><a href="devito.html#devito.types.Indexed.dtype">(devito.types.Indexed attribute)</a> </li> </ul></li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.DummyEq">DummyEq (class in devito.ir.equations.equation)</a> </li> </ul></td> </tr></table> <h2 id="E">E</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.operators.elastic_2d">elastic_2d() (in module examples.seismic.elastic.operators)</a> </li> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.operators.elastic_3d">elastic_3d() (in module examples.seismic.elastic.operators)</a> </li> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.elastic_example.elastic_setup">elastic_setup() (in module examples.seismic.elastic.elastic_example)</a> </li> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.wavesolver.ElasticWaveSolver">ElasticWaveSolver (class in examples.seismic.elastic.wavesolver)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Element">Element (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.ELEMENTAL">ELEMENTAL (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.html#devito.operator.Operator.elemental_functions">elemental_functions (devito.operator.Operator attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.empty">empty (devito.ir.support.stencil.Stencil attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.end">end() (devito.ir.iet.nodes.Iteration method)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.EnrichedTuple">EnrichedTuple (class in devito.tools.data_structures)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.entries">entries (devito.ir.support.stencil.Stencil attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.entry">entry() (devito.ir.support.stencil.Stencil method)</a> </li> <li><a href="devito.html#devito.equation.Eq">Eq (class in devito.equation)</a> <ul> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Eq">(class in devito.symbolics.extended_sympy)</a> </li> </ul></li> <li><a href="devito.html#devito.logger.error">error() (in module devito.logger)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.inspection.estimate_cost">estimate_cost() (in module devito.symbolics.inspection)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.bhaskara_cos.eval">eval() (devito.symbolics.extended_sympy.bhaskara_cos class method)</a> <ul> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.bhaskara_sin.eval">(devito.symbolics.extended_sympy.bhaskara_sin class method)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.taylor_cos.eval">(devito.symbolics.extended_sympy.taylor_cos class method)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.taylor_sin.eval">(devito.symbolics.extended_sympy.taylor_sin class method)</a> </li> </ul></li> <li><a href="examples.html#module-examples">examples (module)</a> </li> <li><a href="examples.cfd.html#module-examples.cfd">examples.cfd (module)</a> </li> <li><a href="examples.cfd.html#module-examples.cfd.example_diffusion">examples.cfd.example_diffusion (module)</a> </li> <li><a href="examples.cfd.html#module-examples.cfd.tools">examples.cfd.tools (module)</a> </li> <li><a href="examples.misc.html#module-examples.misc">examples.misc (module)</a> </li> <li><a href="examples.misc.html#module-examples.misc.linalg">examples.misc.linalg (module)</a> </li> <li><a href="examples.seismic.html#module-examples.seismic">examples.seismic (module)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="examples.seismic.acoustic.html#module-examples.seismic.acoustic">examples.seismic.acoustic (module)</a> </li> <li><a href="examples.seismic.acoustic.html#module-examples.seismic.acoustic.acoustic_example">examples.seismic.acoustic.acoustic_example (module)</a> </li> <li><a href="examples.seismic.acoustic.html#module-examples.seismic.acoustic.operators">examples.seismic.acoustic.operators (module)</a> </li> <li><a href="examples.seismic.acoustic.html#module-examples.seismic.acoustic.wavesolver">examples.seismic.acoustic.wavesolver (module)</a> </li> <li><a href="examples.seismic.html#module-examples.seismic.benchmark">examples.seismic.benchmark (module)</a> </li> <li><a href="examples.seismic.elastic.html#module-examples.seismic.elastic">examples.seismic.elastic (module)</a> </li> <li><a href="examples.seismic.elastic.html#module-examples.seismic.elastic.elastic_example">examples.seismic.elastic.elastic_example (module)</a> </li> <li><a href="examples.seismic.elastic.html#module-examples.seismic.elastic.operators">examples.seismic.elastic.operators (module)</a> </li> <li><a href="examples.seismic.elastic.html#module-examples.seismic.elastic.wavesolver">examples.seismic.elastic.wavesolver (module)</a> </li> <li><a href="examples.seismic.html#module-examples.seismic.model">examples.seismic.model (module)</a> </li> <li><a href="examples.seismic.html#module-examples.seismic.plotting">examples.seismic.plotting (module)</a> </li> <li><a href="examples.seismic.html#module-examples.seismic.source">examples.seismic.source (module)</a> </li> <li><a href="examples.seismic.tti.html#module-examples.seismic.tti">examples.seismic.tti (module)</a> </li> <li><a href="examples.seismic.tti.html#module-examples.seismic.tti.operators">examples.seismic.tti.operators (module)</a> </li> <li><a href="examples.seismic.tti.html#module-examples.seismic.tti.tti_example">examples.seismic.tti.tti_example (module)</a> </li> <li><a href="examples.seismic.tti.html#module-examples.seismic.tti.wavesolver">examples.seismic.tti.wavesolver (module)</a> </li> <li><a href="examples.seismic.html#module-examples.seismic.utils">examples.seismic.utils (module)</a> </li> <li><a href="examples.cfd.html#examples.cfd.example_diffusion.execute_devito">execute_devito() (in module examples.cfd.example_diffusion)</a> </li> <li><a href="examples.cfd.html#examples.cfd.example_diffusion.execute_lambdify">execute_lambdify() (in module examples.cfd.example_diffusion)</a> </li> <li><a href="examples.cfd.html#examples.cfd.example_diffusion.execute_numpy">execute_numpy() (in module examples.cfd.example_diffusion)</a> </li> <li><a href="examples.cfd.html#examples.cfd.example_diffusion.execute_python">execute_python() (in module examples.cfd.example_diffusion)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression">Expression (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ExpressionBundle">ExpressionBundle (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.exprs">exprs (devito.ir.clusters.cluster.Cluster attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ExpressionBundle.exprs">(devito.ir.iet.nodes.ExpressionBundle attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.extent">extent (devito.ir.support.space.IntervalGroup attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.extent">extent() (devito.ir.iet.nodes.Iteration method)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.graph.FlowGraph.extract">extract() (devito.ir.clusters.graph.FlowGraph method)</a> </li> </ul></td> </tr></table> <h2 id="F">F</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.dimension.ConditionalDimension.factor">factor (devito.dimension.ConditionalDimension attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FieldFromComposite.field">field (devito.symbolics.extended_sympy.FieldFromComposite attribute)</a> <ul> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FieldFromPointer.field">(devito.symbolics.extended_sympy.FieldFromPointer attribute)</a> </li> </ul></li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FieldFromComposite">FieldFromComposite (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FieldFromPointer">FieldFromPointer (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.utils.filter_iterations">filter_iterations() (in module devito.ir.iet.utils)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.filter_ordered">filter_ordered() (in module devito.tools.utils)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.filter_sorted">filter_sorted() (in module devito.tools.utils)</a> </li> <li><a href="examples.cfd.html#examples.cfd.tools.fin_bump">fin_bump() (in module examples.cfd.tools)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.ClusterGroup.finalize">finalize() (devito.ir.clusters.cluster.ClusterGroup method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindAdjacent">FindAdjacent (class in devito.ir.iet.visitors)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.findices_affine">findices_affine (devito.ir.support.basic.IterationInstance attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.findices_irregular">findices_irregular (devito.ir.support.basic.IterationInstance attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindNodes">FindNodes (class in devito.ir.iet.visitors)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections">FindSections (class in devito.ir.iet.visitors)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols">FindSymbols (class in devito.ir.iet.visitors)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.finite_difference.first_derivative">first_derivative() (in module devito.finite_differences.finite_difference)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.flatten">flatten() (in module devito.tools.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.flip">flip() (devito.ir.support.space.Interval method)</a> </li> <li><a href="devito.html#devito.cgen_utils.FLOAT">FLOAT (class in devito.cgen_utils)</a> </li> <li><a href="devito.html#devito.cgen_utils.FLOOR">FLOOR (in module devito.cgen_utils)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.graph.FlowGraph">FlowGraph (class in devito.ir.clusters.graph)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.HaloSpot.fmapper">fmapper (devito.ir.iet.nodes.HaloSpot attribute)</a> <ul> <li><a href="devito.mpi.html#devito.mpi.halo_scheme.HaloScheme.fmapper">(devito.mpi.halo_scheme.HaloScheme attribute)</a> </li> </ul></li> <li><a href="devito.dle.html#devito.dle.blocking_utils.fold_blockable_tree">fold_blockable_tree() (in module devito.dle.blocking_utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.utils.force_directions">force_directions() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression">ForeignExpression (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.html#devito.function.TimeFunction.forward">forward (devito.function.TimeFunction attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Forward">Forward (in module devito.ir.support.space)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.forward">forward() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> <ul> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.wavesolver.ElasticWaveSolver.forward">(examples.seismic.elastic.wavesolver.ElasticWaveSolver method)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.wavesolver.AnisotropicWaveSolver.forward">(examples.seismic.tti.wavesolver.AnisotropicWaveSolver method)</a> </li> </ul></li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.operators.ForwardOperator">ForwardOperator() (in module examples.seismic.acoustic.operators)</a> <ul> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.operators.ForwardOperator">(in module examples.seismic.elastic.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.ForwardOperator">(in module examples.seismic.tti.operators)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ArrayCast.free_symbols">free_symbols (devito.ir.iet.nodes.ArrayCast attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Block.free_symbols">(devito.ir.iet.nodes.Block attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Call.free_symbols">(devito.ir.iet.nodes.Call attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Conditional.free_symbols">(devito.ir.iet.nodes.Conditional attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.free_symbols">(devito.ir.iet.nodes.Expression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.free_symbols">(devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.free_symbols">(devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.TimedList.free_symbols">(devito.ir.iet.nodes.TimedList attribute)</a> </li> </ul></li> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.freeze_expression">freeze_expression() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FrozenExpr">FrozenExpr (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.ClusterizedEq.func">func() (devito.ir.equations.equation.ClusterizedEq method)</a> <ul> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.LoweredEq.func">(devito.ir.equations.equation.LoweredEq method)</a> </li> </ul></li> <li><a href="devito.html#devito.base.Function">Function (class in devito.base)</a> <ul> <li><a href="devito.html#devito.function.Function">(class in devito.function)</a> </li> </ul></li> <li><a href="devito.html#devito.types.Indexed.function">function (devito.types.Indexed attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FunctionFromPointer">FunctionFromPointer (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.functions">functions (devito.ir.clusters.cluster.Cluster attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ArrayCast.functions">(devito.ir.iet.nodes.ArrayCast attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Block.functions">(devito.ir.iet.nodes.Block attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Call.functions">(devito.ir.iet.nodes.Call attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Conditional.functions">(devito.ir.iet.nodes.Conditional attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.functions">(devito.ir.iet.nodes.Expression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.functions">(devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.functions">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> </ul></td> </tr></table> <h2 id="G">G</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="examples.seismic.html#examples.seismic.source.GaborSource">GaborSource (class in examples.seismic.source)</a> </li> <li><a href="examples.cfd.html#examples.cfd.tools.gaussian">gaussian() (in module examples.cfd.tools)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.generate">generate() (devito.ir.support.space.IntervalGroup class method)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.finite_difference.generate_fd_shortcuts">generate_fd_shortcuts() (in module devito.finite_differences.finite_difference)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.PartialOrderTuple.generate_ordering">generate_ordering() (devito.tools.data_structures.PartialOrderTuple method)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.generator">generator() (in module devito.tools.utils)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.finite_difference.generic_derivative">generic_derivative() (in module devito.finite_differences.finite_difference)</a> </li> <li><a href="devito.tools.html#devito.tools.visitors.GenericVisitor">GenericVisitor (class in devito.tools.visitors)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.get">get() (devito.ir.support.stencil.Stencil method)</a> </li> <li><a href="devito.html#devito.backends.get_backend">get_backend() (in module devito.backends)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.get_ob_bench">get_ob_bench() (in module examples.seismic.benchmark)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.get_ob_exec">get_ob_exec() (in module examples.seismic.benchmark)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.get_ob_plotter">get_ob_plotter() (in module examples.seismic.benchmark)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.utils.get_simd_flag">get_simd_flag() (in module devito.dle.backends.utils)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.utils.get_simd_items">get_simd_items() (in module devito.dle.backends.utils)</a> </li> <li><a href="devito.mpi.html#devito.mpi.utils.get_views">get_views() (in module devito.mpi.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.getreads">getreads() (devito.ir.support.basic.Scope method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.getwrites">getwrites() (devito.ir.support.basic.Scope method)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.glb_numb">glb_numb (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.glb_pos_map">glb_pos_map (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.glb_ranges">glb_ranges (devito.mpi.distributed.Distributor attribute)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.glb_shape">glb_shape (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.glb_to_loc">glb_to_loc() (devito.mpi.distributed.Distributor method)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.glb_to_rank">glb_to_rank() (devito.mpi.distributed.Distributor method)</a> </li> <li><a href="devito.html#devito.compiler.GNUCompiler">GNUCompiler (class in devito.compiler)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.gradient">gradient() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.operators.GradientOperator">GradientOperator() (in module examples.seismic.acoustic.operators)</a> </li> <li><a href="devito.html#devito.base.Grid">Grid (class in devito.base)</a> <ul> <li><a href="devito.html#devito.grid.Grid">(class in devito.grid)</a> </li> </ul></li> <li><a href="devito.html#devito.function.PrecomputedSparseFunction.gridpoints">gridpoints (devito.function.PrecomputedSparseFunction attribute)</a> <ul> <li><a href="devito.html#devito.function.SparseFunction.gridpoints">(devito.function.SparseFunction attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.utils.group_expressions">group_expressions() (in module devito.ir.support.utils)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.algorithms.groupby">groupby() (in module devito.ir.clusters.algorithms)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.grouper">grouper() (in module devito.tools.utils)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gxx_centered_2d">Gxx_centered_2d() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gxx_shifted">Gxx_shifted() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gxx_shifted_2d">Gxx_shifted_2d() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gxxyy_centered">Gxxyy_centered() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gyy_shifted">Gyy_shifted() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gzz_centered">Gzz_centered() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gzz_centered_2d">Gzz_centered_2d() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gzz_shifted">Gzz_shifted() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.Gzz_shifted_2d">Gzz_shifted_2d() (in module examples.seismic.tti.operators)</a> </li> </ul></td> </tr></table> <h2 id="H">H</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.mpi.html#devito.mpi.halo_scheme.HaloScheme">HaloScheme (class in devito.mpi.halo_scheme)</a> </li> <li><a href="devito.mpi.html#devito.mpi.halo_scheme.HaloSchemeException">HaloSchemeException</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.HaloSpot">HaloSpot (class in devito.ir.iet.nodes)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.HaloSpotProperty">HaloSpotProperty (class in devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindAdjacent.handler">handler() (devito.ir.iet.visitors.FindAdjacent method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope.has_dep">has_dep (devito.ir.support.basic.Scope attribute)</a> </li> </ul></td> </tr></table> <h2 id="I">I</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.analysis.iet_analyze">iet_analyze() (in module devito.ir.iet.analysis)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.scheduler.iet_build">iet_build() (in module devito.ir.iet.scheduler)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.scheduler.iet_insert_C_decls">iet_insert_C_decls() (in module devito.ir.iet.scheduler)</a> </li> <li><a href="devito.html#devito.equation.Inc">Inc (class in devito.equation)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Increment">Increment (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.html#devito.dimension.ConditionalDimension.index">index (devito.dimension.ConditionalDimension attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.index_mode">index_mode (devito.ir.support.basic.IterationInstance attribute)</a> </li> <li><a href="devito.html#devito.types.Indexed">Indexed (class in devito.types)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.indexify">indexify() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.differentiable.Differentiable.indices">indices (devito.finite_differences.differentiable.Differentiable attribute)</a> </li> <li><a href="devito.html#devito.dimension.ConditionalDimension.indirect">indirect (devito.dimension.ConditionalDimension attribute)</a> </li> <li><a href="devito.html#devito.infer_cpu">infer_cpu() (in module devito)</a> </li> <li><a href="devito.html#devito.backends.init_backend">init_backend() (in module devito.backends)</a> </li> <li><a href="devito.html#devito.parameters.init_configuration">init_configuration() (in module devito.parameters)</a> </li> <li><a href="devito.dle.html#devito.dle.transformer.init_dle">init_dle() (in module devito.dle.transformer)</a> </li> <li><a href="examples.cfd.html#examples.cfd.tools.init_hat">init_hat() (in module examples.cfd.tools)</a> </li> <li><a href="examples.cfd.html#examples.cfd.tools.init_smooth">init_smooth() (in module examples.cfd.tools)</a> </li> <li><a href="devito.html#devito.backends.initialised_backend">initialised_backend() (in module devito.backends)</a> </li> <li><a href="devito.html#devito.function.PrecomputedSparseFunction.inject">inject() (devito.function.PrecomputedSparseFunction method)</a> <ul> <li><a href="devito.html#devito.function.SparseFunction.inject">(devito.function.SparseFunction method)</a> </li> <li><a href="devito.html#devito.function.SparseTimeFunction.inject">(devito.function.SparseTimeFunction method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.IterationTree.inner">inner (devito.ir.iet.nodes.IterationTree attribute)</a> </li> <li><a href="devito.html#devito.cgen_utils.INT">INT (class in devito.cgen_utils)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.IntDiv">IntDiv (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.html#devito.equation.INTERIOR">INTERIOR (in module devito.equation)</a> </li> <li><a href="devito.html#devito.function.PrecomputedSparseFunction.interpolate">interpolate() (devito.function.PrecomputedSparseFunction method)</a> <ul> <li><a href="devito.html#devito.function.SparseFunction.interpolate">(devito.function.SparseFunction method)</a> </li> <li><a href="devito.html#devito.function.SparseTimeFunction.interpolate">(devito.function.SparseTimeFunction method)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.intersection">intersection() (devito.ir.support.space.Interval method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.intersection">(devito.ir.support.space.IntervalGroup method)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval">Interval (class in devito.ir.support.space)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeIteration.interval">interval (devito.ir.stree.tree.NodeIteration attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup">IntervalGroup (class in devito.ir.support.space)</a> </li> <li><a href="devito.html#devito.exceptions.InvalidArgument">InvalidArgument</a> </li> <li><a href="devito.html#devito.exceptions.InvalidOperator">InvalidOperator</a> </li> <li><a href="devito.tools.html#devito.tools.utils.invert">invert() (in module devito.tools.utils)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.iq_timeinvariant">iq_timeinvariant() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.iq_timevarying">iq_timevarying() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.irregular">irregular() (devito.ir.support.basic.IterationInstance method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Affine">is_Affine (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_algebraic">is_algebraic (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_algebraic">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_algebraic">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_antihermitian">is_antihermitian (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_antihermitian">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_antihermitian">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.IntDiv.is_Atom">is_Atom (devito.symbolics.extended_sympy.IntDiv attribute)</a> <ul> <li><a href="devito.html#devito.types.Indexed.is_Atom">(devito.types.Indexed attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Block.is_Block">is_Block (devito.ir.iet.nodes.Block attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Block">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Call.is_Call">is_Call (devito.ir.iet.nodes.Call attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Call">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Callable.is_Callable">is_Callable (devito.ir.iet.nodes.Callable attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Callable">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_commutative">is_commutative (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_commutative">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_commutative">(devito.base.Operator attribute)</a> </li> <li><a href="devito.html#devito.types.Indexed.is_commutative">(devito.types.Indexed attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.is_compatible">is_compatible() (devito.ir.support.space.IterationSpace method)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_complex">is_complex (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_complex">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_complex">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_composite">is_composite (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_composite">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_composite">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.ConditionalDimension.is_Conditional">is_Conditional (devito.dimension.ConditionalDimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.Dimension.is_Conditional">(devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Conditional.is_Conditional">(devito.ir.iet.nodes.Conditional attribute)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeConditional.is_Conditional">(devito.ir.stree.tree.NodeConditional attribute)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree.is_Conditional">(devito.ir.stree.tree.ScheduleTree attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.function.Constant.is_Constant">is_Constant (devito.function.Constant attribute)</a> </li> <li><a href="devito.html#devito.dimension.DefaultDimension.is_Default">is_Default (devito.dimension.DefaultDimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.Dimension.is_Default">(devito.dimension.Dimension attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.is_Defined">is_Defined (devito.ir.support.space.Interval attribute)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.is_dense">is_dense (devito.ir.clusters.cluster.Cluster attribute)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.is_Derived">is_Derived (devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.is_Dimension">is_Dimension (devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.html#devito.grid.Grid.is_distributed">is_distributed() (devito.grid.Grid method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Element.is_Element">is_Element (devito.ir.iet.nodes.Element attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Element">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Elementizable">is_Elementizable (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_even">is_even (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_even">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_even">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.is_Expression">is_Expression (devito.ir.iet.nodes.Expression attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Expression">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ExpressionBundle.is_ExpressionBundle">is_ExpressionBundle (devito.ir.iet.nodes.ExpressionBundle attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_ExpressionBundle">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeExprs.is_Exprs">is_Exprs (devito.ir.stree.tree.NodeExprs attribute)</a> <ul> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree.is_Exprs">(devito.ir.stree.tree.ScheduleTree attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_finite">is_finite (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_finite">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_finite">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression.is_ForeignExpression">is_ForeignExpression (devito.ir.iet.nodes.ForeignExpression attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_ForeignExpression">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.is_forward">is_forward() (devito.ir.support.space.IterationSpace method)</a> </li> <li><a href="devito.html#devito.function.Function.is_Function">is_Function (devito.function.Function attribute)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeHalo.is_Halo">is_Halo (devito.ir.stree.tree.NodeHalo attribute)</a> <ul> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree.is_Halo">(devito.ir.stree.tree.ScheduleTree attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.HaloSpot.is_HaloSpot">is_HaloSpot (devito.ir.iet.nodes.HaloSpot attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_HaloSpot">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_hermitian">is_hermitian (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_hermitian">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_hermitian">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_imaginary">is_imaginary (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_imaginary">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_imaginary">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.equation.Eq.is_Increment">is_Increment (devito.equation.Eq attribute)</a> <ul> <li><a href="devito.html#devito.equation.Inc.is_Increment">(devito.equation.Inc attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression.is_Increment">(devito.ir.iet.nodes.ForeignExpression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Increment.is_Increment">(devito.ir.iet.nodes.Increment attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Increment">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access.is_increment">is_increment (devito.ir.support.basic.Access attribute)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.graph.FlowGraph.is_index">is_index() (devito.ir.clusters.graph.FlowGraph method)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.base.CacheManager.is_infinite">is_infinite (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_infinite">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_infinite">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.function.Constant.is_Input">is_Input (devito.function.Constant attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_integer">is_integer (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_integer">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_integer">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.tools.html#devito.tools.utils.is_integer">is_integer() (in module devito.tools.utils)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_irrational">is_irrational (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_irrational">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_irrational">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.is_irregular">is_irregular (devito.ir.support.basic.IterationInstance attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Iteration">is_Iteration (devito.ir.iet.nodes.Iteration attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Iteration">(devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeIteration.is_Iteration">(devito.ir.stree.tree.NodeIteration attribute)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree.is_Iteration">(devito.ir.stree.tree.ScheduleTree attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_IterationFold">is_IterationFold (devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.List.is_List">is_List (devito.ir.iet.nodes.List attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_List">(devito.ir.iet.nodes.Node attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access.is_local">is_local (devito.ir.support.basic.Access attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_negative">is_negative (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_negative">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_negative">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Node">is_Node (devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_noninteger">is_noninteger (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_noninteger">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_noninteger">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.ConditionalDimension.is_NonlinearDerived">is_NonlinearDerived (devito.dimension.ConditionalDimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.Dimension.is_NonlinearDerived">(devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.SteppingDimension.is_NonlinearDerived">(devito.dimension.SteppingDimension attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_nonnegative">is_nonnegative (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_nonnegative">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_nonnegative">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_nonpositive">is_nonpositive (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_nonpositive">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_nonpositive">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_nonzero">is_nonzero (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_nonzero">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_nonzero">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.NullInterval.is_Null">is_Null (devito.ir.support.space.NullInterval attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_odd">is_odd (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_odd">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_odd">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Parallel">is_Parallel (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_ParallelAtomic">is_ParallelAtomic (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_ParallelRelaxed">is_ParallelRelaxed (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_polar">is_polar (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_polar">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_polar">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_positive">is_positive (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_positive">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_positive">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.function.PrecomputedSparseFunction.is_PrecomputedSparseFunction">is_PrecomputedSparseFunction (devito.function.PrecomputedSparseFunction attribute)</a> </li> <li><a href="devito.html#devito.function.PrecomputedSparseTimeFunction.is_PrecomputedSparseTimeFunction">is_PrecomputedSparseTimeFunction (devito.function.PrecomputedSparseTimeFunction attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_prime">is_prime (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_prime">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_prime">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.base.CacheManager.is_rational">is_rational (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_rational">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_rational">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access.is_read">is_read (devito.ir.support.basic.Access attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access.is_read_increment">is_read_increment (devito.ir.support.basic.Access attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_real">is_real (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_real">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_real">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.HaloSpot.is_Redundant">is_Redundant (devito.ir.iet.nodes.HaloSpot attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.is_regular">is_regular (devito.ir.support.basic.IterationInstance attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Remainder">is_Remainder (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.html#devito.function.Constant.is_Scalar">is_Scalar (devito.function.Constant attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.is_scalar">is_scalar (devito.ir.iet.nodes.Expression attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression.is_scalar">(devito.ir.iet.nodes.ForeignExpression attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.is_scalar">(devito.ir.support.basic.IterationInstance attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.is_scalar_assign">is_scalar_assign (devito.ir.iet.nodes.Expression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.is_Section">is_Section (devito.ir.iet.nodes.Node attribute)</a> <ul> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeSection.is_Section">(devito.ir.stree.tree.NodeSection attribute)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree.is_Section">(devito.ir.stree.tree.ScheduleTree attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Section.is_Sequence">is_Sequence (devito.ir.iet.nodes.Section attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Sequential">is_Sequential (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.is_Space">is_Space (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.SpaceDimension.is_Space">(devito.dimension.SpaceDimension attribute)</a> </li> </ul></li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.is_sparse">is_sparse (devito.ir.clusters.cluster.Cluster attribute)</a> </li> <li><a href="devito.html#devito.function.SparseFunction.is_SparseFunction">is_SparseFunction (devito.function.SparseFunction attribute)</a> </li> <li><a href="devito.html#devito.function.SparseTimeFunction.is_SparseTimeFunction">is_SparseTimeFunction (devito.function.SparseTimeFunction attribute)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.is_Stepping">is_Stepping (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.SteppingDimension.is_Stepping">(devito.dimension.SteppingDimension attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.Dimension.is_Sub">is_Sub (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.SubDimension.is_Sub">(devito.dimension.SubDimension attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.types.Indexed.is_Symbol">is_Symbol (devito.types.Indexed attribute)</a> <ul> <li><a href="devito.html#devito.types.Symbol.is_Symbol">(devito.types.Symbol attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.is_tensor">is_tensor (devito.ir.iet.nodes.Expression attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression.is_tensor">(devito.ir.iet.nodes.ForeignExpression attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.Dimension.is_Time">is_Time (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.TimeDimension.is_Time">(devito.dimension.TimeDimension attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.function.TimeFunction.is_TimeFunction">is_TimeFunction (devito.function.TimeFunction attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_transcendental">is_transcendental (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_transcendental">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_transcendental">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Vectorizable">is_Vectorizable (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.is_well_defined">is_well_defined (devito.ir.support.space.IntervalGroup attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.is_Wrappable">is_Wrappable (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access.is_write">is_write (devito.ir.support.basic.Access attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access.is_write_increment">is_write_increment (devito.ir.support.basic.Access attribute)</a> </li> <li><a href="devito.html#devito.base.CacheManager.is_zero">is_zero (devito.base.CacheManager attribute)</a> <ul> <li><a href="devito.html#devito.base.Grid.is_zero">(devito.base.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.Operator.is_zero">(devito.base.Operator attribute)</a> </li> </ul></li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.operators.iso_stencil">iso_stencil() (in module examples.seismic.acoustic.operators)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.ispace">ispace (devito.ir.clusters.cluster.Cluster attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.IsPerfectIteration">IsPerfectIteration (class in devito.ir.iet.visitors)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration">Iteration (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance">IterationInstance (class in devito.ir.support.basic)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.IterationProperty">IterationProperty (class in devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace">IterationSpace (class in devito.ir.support.space)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.IterationTree">IterationTree (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.itintervals">itintervals (devito.ir.support.space.IterationSpace attribute)</a> </li> </ul></td> </tr></table> <h2 id="J">J</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.compiler.jit_compile">jit_compile() (in module devito.compiler)</a> </li> </ul></td> </tr></table> <h2 id="K">K</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.kernel_centered_2d">kernel_centered_2d() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.kernel_centered_3d">kernel_centered_3d() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.kernel_shifted_2d">kernel_shifted_2d() (in module examples.seismic.tti.operators)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.kernel_shifted_3d">kernel_shifted_3d() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.kernel_staggered_2d">kernel_staggered_2d() (in module examples.seismic.tti.operators)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.kernel_staggered_3d">kernel_staggered_3d() (in module examples.seismic.tti.operators)</a> </li> </ul></td> </tr></table> <h2 id="L">L</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.dle.backends.html#devito.dle.backends.parallelizer.Ompizer.lang">lang (devito.dle.backends.parallelizer.Ompizer attribute)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.differentiable.Differentiable.laplace">laplace (devito.finite_differences.differentiable.Differentiable attribute)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.differentiable.Differentiable.laplace2">laplace2() (devito.finite_differences.differentiable.Differentiable method)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.operators.laplacian">laplacian() (in module examples.seismic.acoustic.operators)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree.last">last (devito.ir.stree.tree.ScheduleTree attribute)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.Thickness.left">left (devito.dimension.SubDimension.Thickness attribute)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.left">left() (devito.dimension.SubDimension class method)</a> </li> <li><a href="devito.html#devito.at_setup.level">level (devito.at_setup attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess.lex_eq">lex_eq() (devito.ir.support.basic.TimedAccess method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess.lex_ge">lex_ge() (devito.ir.support.basic.TimedAccess method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess.lex_gt">lex_gt() (devito.ir.support.basic.TimedAccess method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess.lex_le">lex_le() (devito.ir.support.basic.TimedAccess method)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess.lex_lt">lex_lt() (devito.ir.support.basic.TimedAccess method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess.lex_ne">lex_ne() (devito.ir.support.basic.TimedAccess method)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.limits">limits (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeIteration.limits">(devito.ir.stree.tree.NodeIteration attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.limits">(devito.ir.support.space.Interval attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.List">List (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.ListInitializer">ListInitializer (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.html#devito.compiler.load">load() (in module devito.compiler)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.MetaCall.local">local (devito.ir.iet.nodes.MetaCall attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.LocalExpression">LocalExpression (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.html#devito.logger.log">log() (in module devito.logger)</a> </li> <li><a href="devito.tools.html#devito.tools.visitors.GenericVisitor.lookup_method">lookup_method() (devito.tools.visitors.GenericVisitor method)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.LoweredEq">LoweredEq (class in devito.ir.equations.equation)</a> </li> </ul></td> </tr></table> <h2 id="M">M</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Macro">Macro (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.html#devito.compiler.make">make() (in module devito.compiler)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.parallelizer.Ompizer.make_parallel">make_parallel() (devito.dle.backends.parallelizer.Ompizer method)</a> </li> <li><a href="devito.tools.html#devito.tools.os_helper.make_tempdir">make_tempdir() (in module devito.tools.os_helper)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapExpressions">MapExpressions (class in devito.ir.iet.visitors)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapIteration">MapIteration (class in devito.ir.iet.visitors)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.HaloSpot.mask">mask (devito.ir.iet.nodes.HaloSpot attribute)</a> <ul> <li><a href="devito.mpi.html#devito.mpi.halo_scheme.HaloScheme.mask">(devito.mpi.halo_scheme.HaloScheme attribute)</a> </li> </ul></li> <li><a href="examples.misc.html#examples.misc.linalg.mat_mat">mat_mat() (in module examples.misc.linalg)</a> </li> <li><a href="examples.misc.html#examples.misc.linalg.mat_mat_sum">mat_mat_sum() (in module examples.misc.linalg)</a> </li> <li><a href="examples.misc.html#examples.misc.linalg.mat_vec">mat_vec() (in module examples.misc.linalg)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.max_name">max_name (devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.tools.html#devito.tools.memoization.memoized_func">memoized_func (class in devito.tools.memoization)</a> </li> <li><a href="devito.tools.html#devito.tools.memoization.memoized_meth">memoized_meth (class in devito.tools.memoization)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.DataSpace.merge">merge() (devito.ir.support.space.DataSpace class method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.merge">(devito.ir.support.space.Interval method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.merge">(devito.ir.support.space.IterationSpace class method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.NullInterval.merge">(devito.ir.support.space.NullInterval method)</a> </li> </ul></li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.ClusterGroup.meta">meta (devito.ir.clusters.cluster.ClusterGroup attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.MetaCall">MetaCall (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.middle">middle() (devito.dimension.SubDimension class method)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.min_name">min_name (devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.html#devito.at_setup.mode">mode (devito.at_setup attribute)</a> </li> <li><a href="devito.html#devito.mode_benchmark">mode_benchmark() (in module devito)</a> </li> <li><a href="devito.html#devito.mode_develop">mode_develop() (in module devito)</a> </li> <li><a href="devito.html#devito.mode_performance">mode_performance() (in module devito)</a> </li> <li><a href="examples.seismic.html#examples.seismic.model.Model">Model (class in examples.seismic.model)</a> </li> <li><a href="examples.seismic.html#examples.seismic.model.ModelElastic">ModelElastic (class in examples.seismic.model)</a> </li> <li><a href="devito.html#devito.compiler.GNUCompiler.MPICC">MPICC (devito.compiler.GNUCompiler attribute)</a> </li> <li><a href="devito.html#devito.compiler.GNUCompiler.MPICXX">MPICXX (devito.compiler.GNUCompiler attribute)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Mul">Mul (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.mycoords">mycoords (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.myrank">myrank (devito.mpi.distributed.Distributor attribute)</a> </li> </ul></td> </tr></table> <h2 id="N">N</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.TimedList.name">name (devito.ir.iet.nodes.TimedList attribute)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.basic.Access.name">(devito.ir.support.basic.Access attribute)</a> </li> <li><a href="devito.html#devito.types.Indexed.name">(devito.types.Indexed attribute)</a> </li> </ul></li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.ndim">ndim (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.negate">negate() (devito.ir.support.space.Interval method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.negate">(devito.ir.support.space.IntervalGroup method)</a> </li> </ul></li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.neighbours">neighbours (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node">Node (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeConditional">NodeConditional (class in devito.ir.stree.tree)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeExprs">NodeExprs (class in devito.ir.stree.tree)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeHalo">NodeHalo (class in devito.ir.stree.tree)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeIteration">NodeIteration (class in devito.ir.stree.tree)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeSection">NodeSection (class in devito.ir.stree.tree)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.nonderived_directions">nonderived_directions (devito.ir.support.space.IterationSpace attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.nprocs">nprocs (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.ntags">ntags() (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.NullInterval">NullInterval (class in devito.ir.support.space)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.numpy_to_ctypes">numpy_to_ctypes() (in module devito.tools.utils)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.numpy_to_mpitypes">numpy_to_mpitypes() (in module devito.tools.utils)</a> </li> </ul></td> </tr></table> <h2 id="O">O</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.dimension.SubDimension.offset_left">offset_left() (devito.dimension.SubDimension method)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.offset_right">offset_right() (devito.dimension.SubDimension method)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.parallelizer.Ompizer">Ompizer (class in devito.dle.backends.parallelizer)</a> </li> <li><a href="devito.html#devito.cgen_utils.Allocator.onheap">onheap (devito.cgen_utils.Allocator attribute)</a> </li> <li><a href="devito.html#devito.cgen_utils.Allocator.onstack">onstack (devito.cgen_utils.Allocator attribute)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.op_adj">op_adj() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.op_born">op_born() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.op_fwd">op_fwd() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> <ul> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.wavesolver.ElasticWaveSolver.op_fwd">(examples.seismic.elastic.wavesolver.ElasticWaveSolver method)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.wavesolver.AnisotropicWaveSolver.op_fwd">(examples.seismic.tti.wavesolver.AnisotropicWaveSolver method)</a> </li> </ul></li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.wavesolver.AcousticWaveSolver.op_grad">op_grad() (examples.seismic.acoustic.wavesolver.AcousticWaveSolver method)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.base.Operator">Operator (class in devito.base)</a> <ul> <li><a href="devito.core.html#devito.core.operator.Operator">(class in devito.core.operator)</a> </li> <li><a href="devito.html#devito.operator.Operator">(class in devito.operator)</a> </li> </ul></li> <li><a href="devito.html#devito.operator.OperatorRunnable">OperatorRunnable (class in devito.operator)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.option_performance">option_performance() (in module examples.seismic.benchmark)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.option_simulation">option_simulation() (in module examples.seismic.benchmark)</a> </li> <li><a href="devito.html#devito.grid.Grid.origin_domain">origin_domain (devito.grid.Grid attribute)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.common.BlockingArg.original_dim">original_dim (devito.dle.backends.common.BlockingArg attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.output">output (devito.ir.iet.nodes.Expression attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression.output">(devito.ir.iet.nodes.ForeignExpression attribute)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.overlap">overlap() (devito.ir.support.space.Interval method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.NullInterval.overlap">(devito.ir.support.space.NullInterval method)</a> </li> </ul></li> </ul></td> </tr></table> <h2 id="P">P</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.PARALLEL">PARALLEL (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.PARALLEL_IF_ATOMIC">PARALLEL_IF_ATOMIC (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.PartialOrderTuple">PartialOrderTuple (class in devito.tools.data_structures)</a> </li> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.operators.particle_velocity_fields">particle_velocity_fields() (in module examples.seismic.elastic.operators)</a> <ul> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.particle_velocity_fields">(in module examples.seismic.tti.operators)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.space.DataSpace.parts">parts (devito.ir.support.space.DataSpace attribute)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.advanced.CustomRewriter.passes_mapper">passes_mapper (devito.dle.backends.advanced.CustomRewriter attribute)</a> </li> <li><a href="devito.html#devito.logger.perf">perf() (in module devito.logger)</a> </li> <li><a href="devito.html#devito.logger.perf_adv">perf_adv() (in module devito.logger)</a> </li> <li><a href="devito.tools.html#devito.tools.abc.Pickable">Pickable (class in devito.tools.abc)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.plot">plot() (in module examples.seismic.benchmark)</a> </li> <li><a href="examples.cfd.html#examples.cfd.tools.plot_field">plot_field() (in module examples.cfd.tools)</a> </li> <li><a href="examples.seismic.html#examples.seismic.plotting.plot_image">plot_image() (in module examples.seismic.plotting)</a> </li> <li><a href="examples.seismic.html#examples.seismic.plotting.plot_perturbation">plot_perturbation() (in module examples.seismic.plotting)</a> </li> <li><a href="examples.seismic.html#examples.seismic.plotting.plot_shotrecord">plot_shotrecord() (in module examples.seismic.plotting)</a> </li> <li><a href="examples.seismic.html#examples.seismic.plotting.plot_velocity">plot_velocity() (in module examples.seismic.plotting)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.PointSource">PointSource (class in examples.seismic.source)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.Pow">Pow (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.pow_to_mul">pow_to_mul() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.powerset">powerset() (in module devito.tools.utils)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.pprint">pprint() (in module devito.tools.utils)</a> </li> <li><a href="devito.html#devito.base.PrecomputedSparseFunction">PrecomputedSparseFunction (class in devito.base)</a> <ul> <li><a href="devito.html#devito.function.PrecomputedSparseFunction">(class in devito.function)</a> </li> </ul></li> <li><a href="devito.html#devito.base.PrecomputedSparseTimeFunction">PrecomputedSparseTimeFunction (class in devito.base)</a> <ul> <li><a href="devito.html#devito.function.PrecomputedSparseTimeFunction">(class in devito.function)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.prefix">prefix() (devito.ir.support.stencil.Stencil method)</a> </li> <li><a href="devito.html#devito.parameters.print_defaults">print_defaults() (in module devito.parameters)</a> </li> <li><a href="devito.html#devito.parameters.print_state">print_state() (in module devito.parameters)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.printAST">printAST() (in module devito.ir.iet.visitors)</a> </li> <li><a href="devito.html#devito.cgen_utils.printmark">printmark() (in module devito.cgen_utils)</a> </li> <li><a href="devito.html#devito.cgen_utils.printvar">printvar() (in module devito.cgen_utils)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.prod">prod() (in module devito.tools.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.project">project() (devito.ir.support.space.IterationSpace method)</a> </li> <li><a href="devito.html#devito.cgen_utils.Allocator.push_heap">push_heap() (devito.cgen_utils.Allocator method)</a> </li> <li><a href="devito.html#devito.cgen_utils.Allocator.push_stack">push_stack() (devito.cgen_utils.Allocator method)</a> </li> </ul></td> </tr></table> <h2 id="Q">Q</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_affine">q_affine() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_identity">q_identity() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_inc">q_inc() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_indexed">q_indexed() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_indirect">q_indirect() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_leaf">q_leaf() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_linear">q_linear() (in module devito.symbolics.queries)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_op">q_op() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_scalar">q_scalar() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_sum_of_product">q_sum_of_product() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_terminal">q_terminal() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_terminalop">q_terminalop() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_timedimension">q_timedimension() (in module devito.symbolics.queries)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.queries.q_trigonometry">q_trigonometry() (in module devito.symbolics.queries)</a> </li> </ul></td> </tr></table> <h2 id="R">R</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.support.html#devito.ir.support.basic.Vector.rank">rank (devito.ir.support.basic.Vector attribute)</a> </li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.LoweredEq.reads">reads (devito.ir.equations.equation.LoweredEq attribute)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.rebuild">rebuild() (devito.ir.clusters.cluster.Cluster method)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.Receiver">Receiver (in module examples.seismic.source)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.ReducerMap.reduce">reduce() (devito.tools.data_structures.ReducerMap method)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.ReducerMap.reduce_all">reduce_all() (devito.tools.data_structures.ReducerMap method)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.ReducerMap">ReducerMap (class in devito.tools.data_structures)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.REDUNDANT">REDUNDANT (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.PartialOrderTuple.relations">relations (devito.tools.data_structures.PartialOrderTuple attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.REMAINDER">REMAINDER (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.reorder">reorder() (devito.ir.support.space.IntervalGroup class method)</a> <ul> <li><a href="devito.tools.html#devito.tools.data_structures.PartialOrderTuple.reorder">(devito.tools.data_structures.PartialOrderTuple class method)</a> </li> </ul></li> <li><a href="examples.seismic.html#examples.seismic.source.PointSource.resample">resample() (examples.seismic.source.PointSource method)</a> </li> <li><a href="devito.html#devito.profiling.Timer.reset">reset() (devito.profiling.Timer method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.retag">retag() (devito.ir.iet.nodes.Iteration method)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.search.retrieve_functions">retrieve_functions() (in module devito.symbolics.search)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.search.retrieve_indexed">retrieve_indexed() (in module devito.symbolics.search)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.utils.retrieve_iteration_tree">retrieve_iteration_tree() (in module devito.ir.iet.utils)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.search.retrieve_ops">retrieve_ops() (in module devito.symbolics.search)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.symbolics.html#devito.symbolics.search.retrieve_terminals">retrieve_terminals() (in module devito.symbolics.search)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.search.retrieve_trigonometry">retrieve_trigonometry() (in module devito.symbolics.search)</a> </li> <li><a href="devito.dse.html#devito.dse.transformer.rewrite">rewrite() (in module devito.dse.transformer)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.RickerSource">RickerSource (class in examples.seismic.source)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.Thickness.right">right (devito.dimension.SubDimension.Thickness attribute)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.right">right() (devito.dimension.SubDimension class method)</a> </li> <li><a href="examples.cfd.html#examples.cfd.example_diffusion.ring_initial">ring_initial() (in module examples.cfd.example_diffusion)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.root">root (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.IterationTree.root">(devito.ir.iet.nodes.IterationTree attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.MetaCall.root">(devito.ir.iet.nodes.MetaCall attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Section.roots">roots (devito.ir.iet.nodes.Section attribute)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.roundm">roundm() (in module devito.tools.utils)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindNodes.rules">rules (devito.ir.iet.visitors.FindNodes attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.rules">(devito.ir.iet.visitors.FindSymbols attribute)</a> </li> </ul></li> <li><a href="devito.dle.backends.html#devito.dle.backends.common.AbstractRewriter.run">run() (devito.dle.backends.common.AbstractRewriter method)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.common.AbstractRewriter.run">(devito.dse.backends.common.AbstractRewriter method)</a> </li> <li><a href="examples.seismic.acoustic.html#examples.seismic.acoustic.acoustic_example.run">(in module examples.seismic.acoustic.acoustic_example)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.run">(in module examples.seismic.benchmark)</a> </li> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.elastic_example.run">(in module examples.seismic.elastic.elastic_example)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.tti_example.run">(in module examples.seismic.tti.tti_example)</a> </li> </ul></li> </ul></td> </tr></table> <h2 id="S">S</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.base.Scalar">Scalar (class in devito.base)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree">ScheduleTree (class in devito.ir.stree.tree)</a> </li> <li><a href="examples.seismic.html#examples.seismic.utils.scipy_smooth">scipy_smooth() (in module examples.seismic.utils)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Scope">Scope (class in devito.ir.support.basic)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.search.search">search() (in module devito.symbolics.search)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.finite_difference.second_cross_derivative">second_cross_derivative() (in module devito.finite_differences.finite_difference)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.finite_difference.second_derivative">second_derivative() (in module devito.finite_differences.finite_difference)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.operators.second_order_stencil">second_order_stencil() (in module examples.seismic.tti.operators)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Section">Section (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.section">section() (devito.ir.support.basic.IterationInstance method)</a> </li> <li><a href="devito.mpi.html#devito.mpi.routines.sendrecv">sendrecv() (in module devito.mpi.routines)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.SEQUENTIAL">SEQUENTIAL (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.html#devito.backends.set_backend">set_backend() (in module devito.backends)</a> </li> <li><a href="devito.html#devito.operator.set_dle_mode">set_dle_mode() (in module devito.operator)</a> </li> <li><a href="devito.html#devito.operator.set_dse_mode">set_dse_mode() (in module devito.operator)</a> </li> <li><a href="devito.html#devito.logger.set_log_level">set_log_level() (in module devito.logger)</a> </li> <li><a href="devito.html#devito.logger.set_log_noperf">set_log_noperf() (in module devito.logger)</a> </li> <li><a href="devito.html#devito.grid.Grid.shape">shape (devito.grid.Grid attribute)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.shape">(devito.ir.support.space.IntervalGroup attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.shape">(devito.mpi.distributed.Distributor attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.grid.Grid.shape_domain">shape_domain (devito.grid.Grid attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.Shot">Shot (in module examples.seismic.source)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.WaveletSource.show">show() (examples.seismic.source.WaveletSource method)</a> </li> <li><a href="devito.tools.html#devito.tools.abc.Signer">Signer (class in devito.tools.abc)</a> </li> <li><a href="devito.html#devito.logger.silencio">silencio (class in devito.logger)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.single_or">single_or() (in module devito.tools.utils)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.size_name">size_name (devito.dimension.Dimension attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.utils.smooth">smooth() (in module examples.seismic.utils)</a> </li> <li><a href="devito.html#devito.equation.solve">solve() (in module devito.equation)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.differentiable.Differentiable.space_order">space_order (devito.finite_differences.differentiable.Differentiable attribute)</a> <ul> <li><a href="devito.html#devito.function.Function.space_order">(devito.function.Function attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.SpaceDimension">SpaceDimension (class in devito.dimension)</a> </li> <li><a href="devito.html#devito.dimension.ConditionalDimension.spacing">spacing (devito.dimension.ConditionalDimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.Dimension.spacing">(devito.dimension.Dimension attribute)</a> </li> <li><a href="devito.html#devito.grid.Grid.spacing">(devito.grid.Grid attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.grid.Grid.spacing_map">spacing_map (devito.grid.Grid attribute)</a> </li> <li><a href="devito.html#devito.grid.Grid.spacing_symbols">spacing_symbols (devito.grid.Grid attribute)</a> </li> <li><a href="devito.html#devito.base.SparseFunction">SparseFunction (class in devito.base)</a> <ul> <li><a href="devito.html#devito.function.SparseFunction">(class in devito.function)</a> </li> </ul></li> <li><a href="devito.html#devito.base.SparseTimeFunction">SparseTimeFunction (class in devito.base)</a> <ul> <li><a href="devito.html#devito.function.SparseTimeFunction">(class in devito.function)</a> </li> </ul></li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.dle.backends.html#devito.dle.backends.advanced.SpeculativeRewriter">SpeculativeRewriter (class in devito.dle.backends.advanced)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.speculative.SpeculativeRewriter">(class in devito.dse.backends.speculative)</a> </li> </ul></li> <li><a href="devito.tools.html#devito.tools.utils.split">split() (in module devito.tools.utils)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.split_affine">split_affine() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.squash">squash() (devito.ir.clusters.cluster.Cluster method)</a> </li> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.operators.src_rec">src_rec() (in module examples.seismic.elastic.operators)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.algorithms.st_build">st_build() (in module devito.ir.stree.algorithms)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.finite_difference.staggered_diff">staggered_diff() (in module devito.finite_differences.finite_difference)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.start">start() (devito.ir.iet.nodes.Iteration method)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.common.State">State (class in devito.dle.backends.common)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.common.State">(class in devito.dse.backends.common)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil">Stencil (class in devito.ir.support.stencil)</a> </li> <li><a href="devito.html#devito.dimension.SteppingDimension">SteppingDimension (class in devito.dimension)</a> </li> <li><a href="examples.seismic.elastic.html#examples.seismic.elastic.operators.stress_fields">stress_fields() (in module examples.seismic.elastic.operators)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.NodeIteration.sub_iterators">sub_iterators (devito.ir.stree.tree.NodeIteration attribute)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.IterationSpace.sub_iterators">(devito.ir.support.space.IterationSpace attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.SubDimension">SubDimension (class in devito.dimension)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.Thickness">SubDimension.Thickness (class in devito.dimension)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.subtract">subtract() (devito.ir.support.space.Interval method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.subtract">(devito.ir.support.space.IntervalGroup method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.subtract">(devito.ir.support.stencil.Stencil method)</a> </li> </ul></li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Vector.sum">sum (devito.ir.support.basic.Vector attribute)</a> </li> <li><a href="devito.html#devito.function.Function.sum">sum() (devito.function.Function method)</a> </li> <li><a href="devito.tools.html#devito.tools.utils.sweep">sweep() (in module devito.tools.utils)</a> </li> <li><a href="devito.html#devito.types.Symbol">Symbol (class in devito.types)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.symbolic_bounds">symbolic_bounds (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.html#devito.dimension.Dimension.symbolic_end">symbolic_end (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.SteppingDimension.symbolic_end">(devito.dimension.SteppingDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.symbolic_end">(devito.dimension.SubDimension attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.symbolic_end">(devito.ir.iet.nodes.Iteration attribute)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.symbolic_extent">symbolic_extent (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.symbolic_incr">symbolic_incr (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.html#devito.dimension.DefaultDimension.symbolic_size">symbolic_size (devito.dimension.DefaultDimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.Dimension.symbolic_size">(devito.dimension.Dimension attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.Dimension.symbolic_start">symbolic_start (devito.dimension.Dimension attribute)</a> <ul> <li><a href="devito.html#devito.dimension.SteppingDimension.symbolic_start">(devito.dimension.SteppingDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.symbolic_start">(devito.dimension.SubDimension attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.symbolic_start">(devito.ir.iet.nodes.Iteration attribute)</a> </li> </ul></li> <li><a href="devito.html#devito.dimension.SubDimension.symbolic_thickness">symbolic_thickness() (devito.dimension.SubDimension class method)</a> </li> </ul></td> </tr></table> <h2 id="T">T</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.tools.html#devito.tools.abc.Tag">Tag (class in devito.tools.abc)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.tag">tag (devito.ir.iet.nodes.Iteration attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.tagger">tagger() (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.taylor_cos">taylor_cos (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.taylor_sin">taylor_sin (class in devito.symbolics.extended_sympy)</a> </li> <li><a href="devito.dse.backends.html#devito.dse.backends.common.AbstractRewriter.tempname">tempname (devito.dse.backends.common.AbstractRewriter attribute)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.graph.FlowGraph.tensors">tensors (devito.ir.clusters.graph.FlowGraph attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.benchmark.test">test() (in module examples.seismic.benchmark)</a> </li> <li><a href="examples.cfd.html#examples.cfd.example_diffusion.test_diffusion2d">test_diffusion2d() (in module examples.cfd.example_diffusion)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.thickness">thickness (devito.dimension.SubDimension attribute)</a> </li> <li><a href="devito.html#devito.dimension.SubDimension.thickness_map">thickness_map (devito.dimension.SubDimension attribute)</a> </li> <li><a href="devito.dse.backends.html#devito.dse.backends.common.AbstractRewriter.thresholds">thresholds (devito.dse.backends.common.AbstractRewriter attribute)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.graph.FlowGraph.time_invariant">time_invariant() (devito.ir.clusters.graph.FlowGraph method)</a> </li> <li><a href="devito.finite_differences.html#devito.finite_differences.differentiable.Differentiable.time_order">time_order (devito.finite_differences.differentiable.Differentiable attribute)</a> <ul> <li><a href="devito.html#devito.function.TimeFunction.time_order">(devito.function.TimeFunction attribute)</a> </li> </ul></li> <li><a href="examples.seismic.html#examples.seismic.source.PointSource.time_range">time_range (examples.seismic.source.PointSource attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.PointSource.time_values">time_values (examples.seismic.source.PointSource attribute)</a> <ul> <li><a href="examples.seismic.html#examples.seismic.source.TimeAxis.time_values">(examples.seismic.source.TimeAxis attribute)</a> </li> </ul></li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="examples.seismic.html#examples.seismic.source.TimeAxis">TimeAxis (class in examples.seismic.source)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.TimedAccess">TimedAccess (class in devito.ir.support.basic)</a> </li> <li><a href="devito.html#devito.dimension.TimeDimension">TimeDimension (class in devito.dimension)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.TimedList">TimedList (class in devito.ir.iet.nodes)</a> </li> <li><a href="devito.html#devito.base.TimeFunction">TimeFunction (class in devito.base)</a> <ul> <li><a href="devito.html#devito.function.TimeFunction">(class in devito.function)</a> </li> </ul></li> <li><a href="devito.html#devito.profiling.Timer">Timer (class in devito.profiling)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.TimedList.timer">timer (devito.ir.iet.nodes.TimedList attribute)</a> </li> <li><a href="devito.mpi.html#devito.mpi.distributed.Distributor.topology">topology (devito.mpi.distributed.Distributor attribute)</a> </li> <li><a href="devito.tools.html#devito.tools.algorithms.toposort">toposort() (in module devito.tools.algorithms)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.IterationInstance.touch_halo">touch_halo() (devito.ir.support.basic.IterationInstance method)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.Cluster.trace">trace (devito.ir.clusters.cluster.Cluster attribute)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.graph.FlowGraph.trace">trace() (devito.ir.clusters.graph.FlowGraph method)</a> </li> <li><a href="devito.dle.html#devito.dle.transformer.transform">transform() (in module devito.dle.transformer)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.Transformer">Transformer (class in devito.ir.iet.visitors)</a> </li> <li><a href="examples.misc.html#examples.misc.linalg.transpose_mat_vec">transpose_mat_vec() (in module examples.misc.linalg)</a> </li> <li><a href="examples.seismic.tti.html#examples.seismic.tti.tti_example.tti_setup">tti_setup() (in module examples.seismic.tti.tti_example)</a> </li> </ul></td> </tr></table> <h2 id="U">U</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.dle.html#devito.dle.blocking_utils.unfold_blocked_tree">unfold_blocked_tree() (in module devito.dle.blocking_utils)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.cluster.ClusterGroup.unfreeze">unfreeze() (devito.ir.clusters.cluster.ClusterGroup method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.union">union() (devito.ir.support.space.Interval method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.NullInterval.union">(devito.ir.support.space.NullInterval method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.stencil.Stencil.union">(devito.ir.support.stencil.Stencil class method)</a> </li> </ul></li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.tools.html#devito.tools.data_structures.ReducerMap.unique">unique() (devito.tools.data_structures.ReducerMap method)</a> </li> <li><a href="devito.ir.clusters.html#devito.ir.clusters.graph.FlowGraph.unknown">unknown (devito.ir.clusters.graph.FlowGraph attribute)</a> </li> <li><a href="devito.dle.backends.html#devito.dle.backends.common.State.update">update() (devito.dle.backends.common.State method)</a> <ul> <li><a href="devito.dse.backends.html#devito.dse.backends.common.State.update">(devito.dse.backends.common.State method)</a> </li> <li><a href="devito.tools.html#devito.tools.data_structures.ReducerMap.update">(devito.tools.data_structures.ReducerMap method)</a> </li> </ul></li> <li><a href="devito.mpi.html#devito.mpi.routines.update_halo">update_halo() (in module devito.mpi.routines)</a> </li> </ul></td> </tr></table> <h2 id="V">V</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.tools.html#devito.tools.validators.validate_type">validate_type (class in devito.tools.validators)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.basic.Vector">Vector (class in devito.ir.support.basic)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.VECTOR">VECTOR (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Node.view">view (devito.ir.iet.nodes.Node attribute)</a> </li> <li><a href="devito.ir.stree.html#devito.ir.stree.tree.ScheduleTree.visit">visit() (devito.ir.stree.tree.ScheduleTree method)</a> <ul> <li><a href="devito.tools.html#devito.tools.visitors.GenericVisitor.visit">(devito.tools.visitors.GenericVisitor method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_ArrayCast">visit_ArrayCast() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.visit_ArrayCast">(devito.ir.iet.visitors.FindSymbols method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Block">visit_Block() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.visit_Block">(devito.ir.iet.visitors.FindSymbols method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Call">visit_Call() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections.visit_Call">(devito.ir.iet.visitors.FindSections method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.visit_Call">(devito.ir.iet.visitors.FindSymbols method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapExpressions.visit_Call">(devito.ir.iet.visitors.MapExpressions method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapIteration.visit_Call">(devito.ir.iet.visitors.MapIteration method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Callable">visit_Callable() (devito.ir.iet.visitors.CGen method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Conditional">visit_Conditional() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.visit_Conditional">(devito.ir.iet.visitors.FindSymbols method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.IsPerfectIteration.visit_Conditional">(devito.ir.iet.visitors.IsPerfectIteration method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Element">visit_Element() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections.visit_Element">(devito.ir.iet.visitors.FindSections method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapExpressions.visit_Element">(devito.ir.iet.visitors.MapExpressions method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapIteration.visit_Element">(devito.ir.iet.visitors.MapIteration method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Expression">visit_Expression() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections.visit_Expression">(devito.ir.iet.visitors.FindSections method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.visit_Expression">(devito.ir.iet.visitors.FindSymbols method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapExpressions.visit_Expression">(devito.ir.iet.visitors.MapExpressions method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.MapIteration.visit_Expression">(devito.ir.iet.visitors.MapIteration method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.XSubs.visit_Expression">(devito.ir.iet.visitors.XSubs method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_ForeignExpression">visit_ForeignExpression() (devito.ir.iet.visitors.CGen method)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Increment">visit_Increment() (devito.ir.iet.visitors.CGen method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Iteration">visit_Iteration() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections.visit_Iteration">(devito.ir.iet.visitors.FindSections method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.visit_Iteration">(devito.ir.iet.visitors.FindSymbols method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.IsPerfectIteration.visit_Iteration">(devito.ir.iet.visitors.IsPerfectIteration method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_List">visit_List() (devito.ir.iet.visitors.CGen method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.Transformer.visit_list">visit_list() (devito.ir.iet.visitors.Transformer method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_LocalExpression">visit_LocalExpression() (devito.ir.iet.visitors.CGen method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindAdjacent.visit_Node">visit_Node() (devito.ir.iet.visitors.FindAdjacent method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindNodes.visit_Node">(devito.ir.iet.visitors.FindNodes method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections.visit_Node">(devito.ir.iet.visitors.FindSections method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.IsPerfectIteration.visit_Node">(devito.ir.iet.visitors.IsPerfectIteration method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.Transformer.visit_Node">(devito.ir.iet.visitors.Transformer method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindAdjacent.visit_object">visit_object() (devito.ir.iet.visitors.FindAdjacent method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindNodes.visit_object">(devito.ir.iet.visitors.FindNodes method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.IsPerfectIteration.visit_object">(devito.ir.iet.visitors.IsPerfectIteration method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.Transformer.visit_object">(devito.ir.iet.visitors.Transformer method)</a> </li> <li><a href="devito.tools.html#devito.tools.visitors.GenericVisitor.visit_object">(devito.tools.visitors.GenericVisitor method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_Operator">visit_Operator() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.Transformer.visit_Operator">(devito.ir.iet.visitors.Transformer method)</a> </li> </ul></li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.CGen.visit_tuple">visit_tuple() (devito.ir.iet.visitors.CGen method)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindAdjacent.visit_tuple">(devito.ir.iet.visitors.FindAdjacent method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindNodes.visit_tuple">(devito.ir.iet.visitors.FindNodes method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSections.visit_tuple">(devito.ir.iet.visitors.FindSections method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.FindSymbols.visit_tuple">(devito.ir.iet.visitors.FindSymbols method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.IsPerfectIteration.visit_tuple">(devito.ir.iet.visitors.IsPerfectIteration method)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.Transformer.visit_tuple">(devito.ir.iet.visitors.Transformer method)</a> </li> </ul></li> <li><a href="devito.html#devito.exceptions.VisitorException">VisitorException</a> </li> <li><a href="devito.html#devito.backends.void">void (class in devito.backends)</a> </li> <li><a href="devito.html#devito.grid.Grid.volume_cell">volume_cell (devito.grid.Grid attribute)</a> </li> <li><a href="examples.seismic.html#examples.seismic.model.Model.vp">vp (examples.seismic.model.Model attribute)</a> </li> </ul></td> </tr></table> <h2 id="W">W</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.logger.warning">warning() (in module devito.logger)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.GaborSource.wavelet">wavelet() (examples.seismic.source.GaborSource method)</a> <ul> <li><a href="examples.seismic.html#examples.seismic.source.RickerSource.wavelet">(examples.seismic.source.RickerSource method)</a> </li> <li><a href="examples.seismic.html#examples.seismic.source.WaveletSource.wavelet">(examples.seismic.source.WaveletSource method)</a> </li> </ul></li> <li><a href="examples.seismic.html#examples.seismic.source.WaveletSource">WaveletSource (class in examples.seismic.source)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.iet.html#devito.ir.iet.properties.WRAPPABLE">WRAPPABLE (in module devito.ir.iet.properties)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Expression.write">write (devito.ir.iet.nodes.Expression attribute)</a> <ul> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.ForeignExpression.write">(devito.ir.iet.nodes.ForeignExpression attribute)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.nodes.Iteration.write">(devito.ir.iet.nodes.Iteration attribute)</a> </li> </ul></li> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.LoweredEq.writes">writes (devito.ir.equations.equation.LoweredEq attribute)</a> </li> </ul></td> </tr></table> <h2 id="X">X</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.html#devito.equation.Eq.xreplace">xreplace() (devito.equation.Eq method)</a> <ul> <li><a href="devito.ir.equations.html#devito.ir.equations.equation.LoweredEq.xreplace">(devito.ir.equations.equation.LoweredEq method)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.extended_sympy.FrozenExpr.xreplace">(devito.symbolics.extended_sympy.FrozenExpr method)</a> </li> </ul></li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.xreplace_constrained">xreplace_constrained() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.symbolics.html#devito.symbolics.manipulation.xreplace_indices">xreplace_indices() (in module devito.symbolics.manipulation)</a> </li> <li><a href="devito.ir.iet.html#devito.ir.iet.visitors.XSubs">XSubs (class in devito.ir.iet.visitors)</a> </li> </ul></td> </tr></table> <h2 id="Z">Z</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="devito.ir.support.html#devito.ir.support.space.DataSpace.zero">zero() (devito.ir.support.space.DataSpace method)</a> <ul> <li><a href="devito.ir.support.html#devito.ir.support.space.Interval.zero">(devito.ir.support.space.Interval method)</a> </li> <li><a href="devito.ir.support.html#devito.ir.support.space.IntervalGroup.zero">(devito.ir.support.space.IntervalGroup method)</a> </li> </ul></li> </ul></td> </tr></table> </div> </div> <footer> <hr/> <div role="contentinfo"> <p> &copy; Copyright 2016, Opesci </p> </div> Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. </footer> </div> </div> </section> </div> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT:'./', VERSION:'1', LANGUAGE:'en', COLLAPSE_INDEX:false, FILE_SUFFIX:'.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt' }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script type="text/javascript" src="_static/js/theme.js"></script> <script type="text/javascript"> jQuery(function () { SphinxRtdTheme.Navigation.enable(true); }); </script> </body> </html>
html
/* * Created by <NAME>, 14 August 2013 * */ package org.jsoar.kernel.learning.rl; import org.jsoar.kernel.symbols.SymbolFactory; import org.jsoar.util.properties.DefaultPropertyProvider; import org.jsoar.util.properties.EnumPropertyProvider; import org.jsoar.util.properties.PropertyKey; import org.jsoar.util.properties.PropertyManager; /** @author <NAME> */ public class ReinforcementLearningParams { /** Options to turn RL on and off */ public static enum Learning { on, off }; /** Options for temporal-extension */ public static enum TemporalExtension { on, off }; /** Options for RL algorithm learning policy */ // TODO Soar Manual version 9.6.0 replaces "q" with "q-learning", and // adds "off-policy-gq-lambda" and "on-policy-gq-lambda" public static enum LearningPolicy { sarsa, q }; /** Options to turn hrl-discount on and off */ public static enum HrlDiscount { on, off }; /** Options for temporal-discount */ public static enum TemporalDiscount { on, off }; /** Options for chunk-stop */ public static enum ChunkStop { on, off }; /** * How the learning rate cools over time. normal_decay: default, same learning rate for each rule * exponential_decay: rate = rate / # updates for this rule logarithmic_decay: rate = rate / log(# * updates for this rule) Miller, 11/14/2011 */ // public static enum DecayMode { normal_decay, exponential_decay, // logarithmic_decay, delta_bar_delta_decay } public static enum DecayMode { // TODO Soar Manual version 9.6.0 replaces "exp" with "exponential" and // "log" with "logarithmic" normal_decay("normal"), exponential_decay("exp"), logarithmic_decay("log"), delta_bar_delta_decay("delta-bar-delta"); // some options have dashes in them, but we can't put those in the enum name, so we need a // mapping private final String realName; private DecayMode() { this.realName = this.name(); } private DecayMode(String realName) { this.realName = realName; } @Override public String toString() { return realName; } public static DecayMode getEnum(String value) { if (value == null) throw new IllegalArgumentException(); for (DecayMode dm : DecayMode.values()) { if (value.equals(dm.toString())) return dm; } throw new IllegalArgumentException(); } } /** Options for meta */ public static enum Meta { on, off }; /** * Options for apoptosis * * <p>The complicated implementation here is to show a name with a dash in it. */ // static enum ApoptosisChoices { none, chunks, rl_chunks }; public static enum ApoptosisChoices { none, chunks, rl_chunks("rl-chunks"); // some options have dashes in them, but we can't put those in the enum name, so we need a // mapping private final String realName; private ApoptosisChoices() { this.realName = this.name(); } private ApoptosisChoices(String realName) { this.realName = realName; } @Override public String toString() { return realName; } public static ApoptosisChoices getEnum(String value) { if (value == null) throw new IllegalArgumentException(); for (ApoptosisChoices ac : ApoptosisChoices.values()) { if (value.equals(ac.toString())) return ac; } throw new IllegalArgumentException(); } } /** Options for trace */ public static enum Trace { on, off }; private static final String PREFIX = "rl."; private static <T> PropertyKey.Builder<T> key(String name, Class<T> type) { return PropertyKey.builder(PREFIX + name, type); } public static final PropertyKey<Learning> LEARNING = key("learning", Learning.class).defaultValue(Learning.off).build(); final EnumPropertyProvider<Learning> learning = new EnumPropertyProvider<Learning>(LEARNING); public static final PropertyKey<TemporalExtension> TEMPORAL_EXTENSION = key("temporal-extension", TemporalExtension.class).defaultValue(TemporalExtension.on).build(); final EnumPropertyProvider<TemporalExtension> temporal_extension = new EnumPropertyProvider<TemporalExtension>(TEMPORAL_EXTENSION); public static final PropertyKey<Double> DISCOUNT_RATE = key("discount-rate", Double.class).defaultValue(0.9).build(); final DefaultPropertyProvider<Double> discount_rate = new DefaultPropertyProvider<Double>(DISCOUNT_RATE); public static final PropertyKey<LearningPolicy> LEARNING_POLICY = key("learning-policy", LearningPolicy.class).defaultValue(LearningPolicy.sarsa).build(); final DefaultPropertyProvider<LearningPolicy> learning_policy = new DefaultPropertyProvider<LearningPolicy>(LEARNING_POLICY); public static final PropertyKey<Double> LEARNING_RATE = key("learning-rate", Double.class).defaultValue(0.3).build(); final DefaultPropertyProvider<Double> learning_rate = new DefaultPropertyProvider<Double>(LEARNING_RATE); public static final PropertyKey<HrlDiscount> HRL_DISCOUNT = key("hrl-discount", HrlDiscount.class).defaultValue(HrlDiscount.off).build(); final EnumPropertyProvider<HrlDiscount> hrl_discount = new EnumPropertyProvider<HrlDiscount>(HRL_DISCOUNT); public static final PropertyKey<TemporalDiscount> TEMPORAL_DISCOUNT = key("temporal-discount", TemporalDiscount.class).defaultValue(TemporalDiscount.on).build(); final EnumPropertyProvider<TemporalDiscount> temporal_discount = new EnumPropertyProvider<TemporalDiscount>(TEMPORAL_DISCOUNT); public static final PropertyKey<Double> ET_DECAY_RATE = key("eligibility-trace-decay-rate", Double.class).defaultValue(0.0).build(); final DefaultPropertyProvider<Double> et_decay_rate = new DefaultPropertyProvider<Double>(ET_DECAY_RATE); public static final PropertyKey<Double> ET_TOLERANCE = key("eligibility-trace-tolerance", Double.class).defaultValue(0.001).build(); final DefaultPropertyProvider<Double> et_tolerance = new DefaultPropertyProvider<Double>(ET_TOLERANCE); // -------------- EXPERIMENTAL ------------------- public static final PropertyKey<ChunkStop> CHUNK_STOP = key("chunk-stop", ChunkStop.class).defaultValue(ChunkStop.on).build(); // This is public so the rete can get it public final EnumPropertyProvider<ChunkStop> chunk_stop = new EnumPropertyProvider<ChunkStop>(CHUNK_STOP); public static final PropertyKey<DecayMode> DECAY_MODE = key("decay-mode", DecayMode.class).defaultValue(DecayMode.normal_decay).build(); final EnumPropertyProvider<DecayMode> decay_mode = new EnumPropertyProvider<DecayMode>(DECAY_MODE); // Whether doc strings are used for storing metadata. public static final PropertyKey<Meta> META = key("meta", Meta.class).defaultValue(Meta.off).build(); final EnumPropertyProvider<Meta> meta = new EnumPropertyProvider<Meta>(META); // NOTE: Documentation of the "meta-learning-rate" parameter appears to have been // inadvertently omitted from Soar Manual version 9.6.0 public static final PropertyKey<Double> META_LEARNING_RATE = key("meta-learning-rate", Double.class).defaultValue(0.1).build(); final DefaultPropertyProvider<Double> meta_learning_rate = new DefaultPropertyProvider<Double>(META_LEARNING_RATE); // If non-null and size > 0, log all RL updates to this file. public static final PropertyKey<String> UPDATE_LOG_PATH = key("update-log-path", String.class).defaultValue("").build(); final DefaultPropertyProvider<String> update_log_path = new DefaultPropertyProvider<String>(UPDATE_LOG_PATH); // Parameters for apoptosis public static final PropertyKey<ApoptosisChoices> APOPTOSIS = key("apoptosis", ApoptosisChoices.class).defaultValue(ApoptosisChoices.none).build(); final EnumPropertyProvider<ApoptosisChoices> apoptosis = new EnumPropertyProvider<ApoptosisChoices>(APOPTOSIS); public static final PropertyKey<Double> APOPTOSIS_DECAY = key("apoptosis-decay", Double.class).defaultValue(0.5).build(); final DefaultPropertyProvider<Double> apoptosis_decay = new DefaultPropertyProvider<Double>(APOPTOSIS_DECAY); public static final PropertyKey<Double> APOPTOSIS_THRESH = key("apoptosis-thresh", Double.class).defaultValue(-2.0).build(); final DefaultPropertyProvider<Double> apoptosis_thresh = new DefaultPropertyProvider<Double>(APOPTOSIS_THRESH); public static final PropertyKey<Trace> TRACE = key("trace", Trace.class).defaultValue(Trace.off).build(); final EnumPropertyProvider<Trace> trace = new EnumPropertyProvider<Trace>(TRACE); private final PropertyManager properties; public ReinforcementLearningParams(PropertyManager properties, SymbolFactory sf) { this.properties = properties; // rl initialization // agent.cpp:328:create_soar_agent properties.setProvider(LEARNING, learning); properties.setProvider(TEMPORAL_EXTENSION, temporal_extension); properties.setProvider(DISCOUNT_RATE, discount_rate); properties.setProvider(LEARNING_POLICY, learning_policy); properties.setProvider(LEARNING_RATE, learning_rate); properties.setProvider(HRL_DISCOUNT, hrl_discount); properties.setProvider(TEMPORAL_DISCOUNT, temporal_discount); properties.setProvider(ET_DECAY_RATE, et_decay_rate); properties.setProvider(ET_TOLERANCE, et_tolerance); // -------------- EXPERIMENTAL ------------------- properties.setProvider(CHUNK_STOP, chunk_stop); properties.setProvider(DECAY_MODE, decay_mode); properties.setProvider(META, meta); properties.setProvider(META_LEARNING_RATE, meta_learning_rate); properties.setProvider(UPDATE_LOG_PATH, update_log_path); properties.setProvider(APOPTOSIS, apoptosis); properties.setProvider(APOPTOSIS_DECAY, apoptosis_decay); properties.setProvider(APOPTOSIS_THRESH, apoptosis_thresh); properties.setProvider(TRACE, trace); } public PropertyManager getProperties() { return properties; } /** * Retrieve a property key for an EPMEM property. Appropriately adds necessary prefixes to the * name to find the right key. * * @param props the property manager * @param name the name of the property. * @return the key, or {@code null} if not found. */ public static PropertyKey<?> getProperty(PropertyManager props, String name) { return props.getKey(PREFIX + name); } }
java
Lima: At least 44 people died in Peru on Wednesday when a bus hurtled some 100 meters into a ravine in the mountainous south in the country's second major bus crash this year, a local official said. "According to a report from the Peruvian National Police, there are 44 confirmed deaths as of now," Yamila Osorio, the governor of the Arequipa region, wrote on Twitter. The bus was carrying some 45 passengers, according to operator Rey Latino, but police said the figure was likely higher because additional passengers boarded along the route and did not appear in the initial register. The crash occurred on a curve on the Panamericana Sur highway in the Ocona district. Road accidents are common in Peru, where roads are considered unsafe and bus drivers lack training. "My condolences to the relatives of the victims of the transit accident in Arequipa," President Pedro Pablo Kuczynski wrote on Twitter. "We have taken all steps to provide immediate rescue support and transfer victims to the closest health centers so they can be attended immediately. " At least 48 people died in early January when a bus collided with a truck and careened off a cliff near the area of Pasamayo on the Pacific coast. (Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed. )
english
package main import ( "context" "fmt" "log" "net" "github.com/sanojsubran/pipe" "google.golang.org/grpc" ) type server struct { pipe.UnimplementedGreeterServer } func (*server) SayHello(ctx context.Context, request *pipe.HelloRequest) (*pipe.HelloReply, error) { name := request.Name response := &pipe.HelloReply{ Message: "Hello " + name, } fmt.Printf("\nReceived request with name: %v", name) return response, nil } func main() { lis, err := net.Listen("tcp", ":8793") if nil != err { log.Fatalf("\nError: %v", err) } fmt.Printf("\nServer is listening on port 127.0.0.1:8793") s := grpc.NewServer() pipe.RegisterGreeterServer(s, &server{}) s.Serve(lis) }
go
<reponame>pchan126/Torque2D //----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS // IN THE SOFTWARE. //----------------------------------------------------------------------------- #include "graphics/dgl.h" #include "console/consoleTypes.h" #include "2d/core/Utility.h" #include "ShapeVector.h" // Script bindings. #include "ShapeVector_ScriptBinding.h" //---------------------------------------------------------------------------- IMPLEMENT_CONOBJECT(ShapeVector); //---------------------------------------------------------------------------- ShapeVector::ShapeVector() : mLineColor(ColorF(1.0f,1.0f,1.0f,1.0f)), mFillColor(ColorF(0.5f,0.5f,0.5f,1.0f)), mFillMode(false), mIsCircle(false), mCircleRadius(1.0f), mFlipX(false), mFlipY(false) { // Set Vector Associations. VECTOR_SET_ASSOCIATION( mPolygonBasisList ); VECTOR_SET_ASSOCIATION( mPolygonLocalList ); // Use a static body by default. mBodyDefinition.type = b2_staticBody; } //---------------------------------------------------------------------------- ShapeVector::~ShapeVector() { } //---------------------------------------------------------------------------- void ShapeVector::initPersistFields() { addProtectedField("PolyList", TypePoint2FVector, Offset(mPolygonBasisList, ShapeVector), &setPolyList, &defaultProtectedGetFn, &writePolyList, ""); addField("LineColor", TypeColorF, Offset(mLineColor, ShapeVector), &writeLineColor, ""); addField("FillColor", TypeColorF, Offset(mFillColor, ShapeVector), &writeFillColor, ""); addField("FillMode", TypeBool, Offset(mFillMode, ShapeVector), &writeFillMode, ""); addField("IsCircle", TypeBool, Offset(mIsCircle, ShapeVector), &writeIsCircle, ""); addField("CircleRadius", TypeF32, Offset(mCircleRadius, ShapeVector), &writeCircleRadius, ""); Parent::initPersistFields(); } //---------------------------------------------------------------------------- void ShapeVector::copyTo(SimObject* obj) { Parent::copyTo(obj); AssertFatal(dynamic_cast<ShapeVector*>(obj), "ShapeVector::copyTo() - Object is not the correct type."); ShapeVector* object = static_cast<ShapeVector*>(obj); // Copy fields object->mFillMode = mFillMode; object->mFillColor = mFillColor; object->mLineColor = mLineColor; object->mIsCircle = mIsCircle; object->mCircleRadius = mCircleRadius; object->mFlipX = mFlipX; object->mFlipY = mFlipY; if (getPolyVertexCount() > 0) object->setPolyCustom(mPolygonBasisList.size(), getPoly()); } //---------------------------------------------------------------------------- bool ShapeVector::onAdd() { // Call Parent. if(!Parent::onAdd()) return false; // Return Okay. return true; } //---------------------------------------------------------------------------- void ShapeVector::onRemove() { // Call Parent. Parent::onRemove(); } //---------------------------------------------------------------------------- void ShapeVector::sceneRender( const SceneRenderState* pSceneRenderState, const SceneRenderRequest* pSceneRenderRequest, BatchRender* pBatchRenderer ) { // Fetch Vertex Count. const U32 vertexCount = mPolygonLocalList.size(); // Finish if not vertices. if ( vertexCount == 0 && !mIsCircle) return; // Disable Texturing. glDisable ( GL_TEXTURE_2D ); // Save Model-view. glMatrixMode(GL_MODELVIEW); glPushMatrix(); // Fetch Position/Rotation. const Vector2 position = getRenderPosition(); // Set Blend Options. setBlendOptions(); if (mIsCircle) { glRotatef( mRadToDeg(getRenderAngle()), 0.0f, 0.0f, 1.0f ); // Render the shape. bool wireFrame = (pBatchRenderer->getWireframeMode() || this->getDebugMask() & Scene::DebugOption::SCENE_DEBUG_WIREFRAME_RENDER) ? true : false; renderCircleShape(position, mCircleRadius, wireFrame); } else { // Move into Vector-Space. glTranslatef( position.x, position.y, 0.0f ); glRotatef( mRadToDeg(getRenderAngle()), 0.0f, 0.0f, 1.0f ); // Render the shape. bool wireFrame = (pBatchRenderer->getWireframeMode() || this->getDebugMask() & Scene::DebugOption::SCENE_DEBUG_WIREFRAME_RENDER) ? true : false; renderPolygonShape(vertexCount, wireFrame); } // Restore color. glColor4f( 1,1,1,1 ); // Restore Matrix. glPopMatrix(); } void ShapeVector::renderCircleShape(Vector2 position, F32 radius, const bool wireFrame) { if (mFillMode) { // Set the fill color. glColor4f((GLfloat)mFillColor.red, (GLfloat)mFillColor.green, (GLfloat)mFillColor.blue, (GLfloat)mFillColor.alpha); // Draw the shape. const U32 k_segments = 32; const F32 k_increment = 2.0f * M_PI_F / k_segments; F32 theta = 0.0f; Vector<GLfloat> verts; for (U32 n = 0; n < k_segments; n++) { Vector2 v = position + radius * Vector2(mCos(theta), mSin(theta)); verts.push_back((GLfloat)v.x); verts.push_back((GLfloat)v.y); theta += k_increment; } glVertexPointer(2, GL_FLOAT, 0, verts.address()); glEnableClientState(GL_VERTEX_ARRAY); glDrawArrays(GL_TRIANGLE_FAN, 0, k_segments); // If mFillMode is enabled wireframe is also enabled, we'll draw a filled shape with a wire overlay. // Set the line color. if (wireFrame) { glColor4f((GLfloat)mLineColor.red, (GLfloat)mLineColor.green, (GLfloat)mLineColor.blue, (GLfloat)mLineColor.alpha); glDrawArrays(GL_LINE_LOOP, 0, k_segments); } glDisableClientState(GL_VERTEX_ARRAY); } else { // We emulate wireframe mode here by drawing lines between the verts. // Set the line color. glColor4f((GLfloat)mLineColor.red, (GLfloat)mLineColor.green, (GLfloat)mLineColor.blue, (GLfloat)mLineColor.alpha); // Draw the shape. const U32 k_segments = 32; const F32 k_increment = 2.0f * M_PI_F / k_segments; F32 theta = 0.0f; Vector<GLfloat> verts; for (U32 n = 0; n < k_segments; n++) { Vector2 v = position + radius * Vector2(mCos(theta), mSin(theta)); verts.push_back((GLfloat)v.x); verts.push_back((GLfloat)v.y); theta += k_increment; } glVertexPointer(2, GL_FLOAT, 0, verts.address()); glEnableClientState(GL_VERTEX_ARRAY); glDrawArrays(GL_LINE_LOOP, 0, k_segments); glDisableClientState(GL_VERTEX_ARRAY); } } void ShapeVector::renderPolygonShape(U32 vertexCount, const bool wireFrame) { // If fill mode is enabled, draw the polygon using GL_TRIANGLE_FAN, otherwise we draw with GL_LINE_LOOP. // We also draw with GL_LINE_LOOP if the scene/object is being rendered with wireframe enabled. if (mFillMode) { // Set the fill color. glColor4f((GLfloat)mFillColor.red, (GLfloat)mFillColor.green, (GLfloat)mFillColor.blue, (GLfloat)mFillColor.alpha); // Draw the shape. Vector<GLfloat> verts; for (U32 n = 0; n < vertexCount; n++) { verts.push_back((GLfloat)mPolygonLocalList[n].x); verts.push_back((GLfloat)mPolygonLocalList[n].y); } glVertexPointer(2, GL_FLOAT, 0, verts.address()); glEnableClientState(GL_VERTEX_ARRAY); glDrawArrays(GL_TRIANGLE_FAN, 0, vertexCount); // If mFillMode is enabled wireframe is also enabled, we'll draw a filled shape with a wire overlay. // Set the line color. if (wireFrame) { glColor4f((GLfloat)mLineColor.red, (GLfloat)mLineColor.green, (GLfloat)mLineColor.blue, (GLfloat)mLineColor.alpha); glDrawArrays(GL_LINE_LOOP, 0, vertexCount); } glDisableClientState(GL_VERTEX_ARRAY); } else { // We emulate wireframe mode here by drawing lines between the verts. // Set the line color. glColor4f((GLfloat)mLineColor.red, (GLfloat)mLineColor.green, (GLfloat)mLineColor.blue, (GLfloat)mLineColor.alpha); // Draw the shape. Vector<GLfloat> verts; for (U32 n = 0; n < vertexCount; n++) { verts.push_back((GLfloat)mPolygonLocalList[n].x); verts.push_back((GLfloat)mPolygonLocalList[n].y); } glVertexPointer(2, GL_FLOAT, 0, verts.address()); glEnableClientState(GL_VERTEX_ARRAY); glDrawArrays(GL_LINE_LOOP, 0, vertexCount); glDisableClientState(GL_VERTEX_ARRAY); } } //---------------------------------------------------------------------------- void ShapeVector::setSize( const Vector2& size ) { F32 xDifference = mSize.x / size.x; // Call Parent. Parent::setSize( size ); if (mIsCircle) { mCircleRadius /= xDifference; } else { // Generate Local Polygon. generateLocalPoly(); } } //---------------------------------------------------------------------------- void ShapeVector::setPolyPrimitive( const U32 polyVertexCount ) { // Check it's not zero! if ( polyVertexCount == 0 ) { // Warn. Con::warnf("ShapeVector::setPolyPrimitive() - Vertex count must be greater than zero!"); // Finish Here. return; } // Clear Polygon List. mPolygonBasisList.clear(); mPolygonBasisList.setSize( polyVertexCount ); // Point? if ( polyVertexCount == 1 ) { // Set Polygon Point. mPolygonBasisList[0].Set(0.0f, 0.0f); } // Special-Case Quad? else if ( polyVertexCount == 4 ) { // Yes, so set Quad. mPolygonBasisList[0].Set(-0.5f, -0.5f); mPolygonBasisList[1].Set(+0.5f, -0.5f); mPolygonBasisList[2].Set(+0.5f, +0.5f); mPolygonBasisList[3].Set(-0.5f, +0.5f); } else { // No, so calculate Regular (Primitive) Polygon Stepping. // // NOTE:- The polygon sits on an circle that subscribes the interior // of the collision box. F32 angle = M_PI_F / polyVertexCount; const F32 angleStep = M_2PI_F / polyVertexCount; // Calculate Polygon. for ( U32 n = 0; n < polyVertexCount; n++ ) { // Calculate Angle. angle += angleStep; // Store Polygon Vertex. mPolygonBasisList[n].Set(mCos(angle), mSin(angle)); } } // Generation Local Poly. generateLocalPoly(); } //---------------------------------------------------------------------------- void ShapeVector::setPolyCustom( const U32 polyVertexCount, const char* pCustomPolygon ) { // Validate Polygon. if ( polyVertexCount < 1 ) { // Warn. Con::warnf("ShapeVector::setPolyCustom() - Vertex count must be greater than zero!"); return; } // Fetch Custom Polygon Value Count. const U32 customCount = Utility::mGetStringElementCount(pCustomPolygon); // Validate Polygon Custom Length. if ( customCount != polyVertexCount*2 ) { // Warn. Con::warnf("ShapeVector::setPolyCustom() - Invalid Custom Polygon Items '%d'; expected '%d'!", customCount, polyVertexCount*2 ); return; } //// Validate Polygon Vertices. //for ( U32 n = 0; n < customCount; n+=2 ) //{ // // Fetch Coordinate. // const Vector2 coord = Utility::mGetStringElementVector(pCustomPolygon, n); // // Check Range. // if ( coord.x < -1.0f || coord.x > 1.0f || coord.y < -1.0f || coord.y > 1.0f ) // { // // Warn. // Con::warnf("ShapeVector::setPolyCustom() - Invalid Polygon Coordinate range; Must be -1 to +1! '(%g,%g)'", coord.x, coord.y ); // return; // } //} // Clear Polygon Basis List. mPolygonBasisList.clear(); mPolygonBasisList.setSize( polyVertexCount ); // Validate Polygon Vertices. for ( U32 n = 0; n < polyVertexCount; n++ ) { // Fetch Coordinate. const F32 x = dAtof(Utility::mGetStringElement(pCustomPolygon, n*2)); const F32 y = dAtof(Utility::mGetStringElement(pCustomPolygon, n*2+1)); // Store Polygon Vertex. mPolygonBasisList[n].Set(x, y); } // Generation Local Poly. generateLocalPoly(); } //---------------------------------------------------------------------------- const char* ShapeVector::getPoly( void ) { // Get Collision Polygon. const Vector2* pPoly = (getPolyVertexCount() > 0) ? getPolyBasis() : NULL; // Set Max Buffer Size. const U32 maxBufferSize = getPolyVertexCount() * 18 + 1; // Get Return Buffer. char* pReturnBuffer = Con::getReturnBuffer( maxBufferSize ); // Check Buffer. if( !pReturnBuffer ) { // Warn. Con::printf("ShapeVector::getPoly() - Unable to allocate buffer!"); // Exit. return NULL; } // Set Buffer Counter. U32 bufferCount = 0; // Add Polygon Edges. for ( U32 n = 0; n < getPolyVertexCount(); n++ ) { // Output Object ID. bufferCount += dSprintf( pReturnBuffer + bufferCount, maxBufferSize-bufferCount, "%0.5f %0.5f ", pPoly[n].x, pPoly[n].y ); // Finish early if we run out of buffer space. if ( bufferCount >= maxBufferSize ) { // Warn. Con::warnf("ShapeVector::getPoly() - Error writing to buffer!"); break; } } // Return Buffer. return pReturnBuffer; } //---------------------------------------------------------------------------- const char* ShapeVector::getWorldPoly( void ) { // Get the object space polygon //const Vector2* pPoly = (getPolyVertexCount() > 0) ? getPolyBasis() : NULL; // Set the max buffer size const U32 maxBufferSize = getPolyVertexCount() * 18 + 1; // Get the return buffer. char* pReturnBuffer = Con::getReturnBuffer( maxBufferSize ); // Check the buffer. if( !pReturnBuffer ) { // Warn. Con::printf("ShapeVector::getWorldPoly() - Unable to allocate buffer!"); // Exit. return NULL; } // Set Buffer Counter. U32 bufferCount = 0; // Add Polygon Edges. for ( U32 n = 0; n < getPolyVertexCount(); n++ ) { // Convert the poly point to a world coordinate Vector2 worldPoint = getWorldPoint(mPolygonLocalList[n]); // Output the point bufferCount += dSprintf( pReturnBuffer + bufferCount, maxBufferSize-bufferCount, "%0.5f %0.5f ", worldPoint.x, worldPoint.y ); // Finish early if we run out of buffer space. if ( bufferCount >= maxBufferSize ) { // Warn. Con::warnf("ShapeVector::getWorldPoly() - Error writing to buffer!"); break; } } // Return Buffer. return pReturnBuffer; } //---------------------------------------------------------------------------- void ShapeVector::generateLocalPoly( void ) { // Fetch Polygon Vertex Count. const U32 polyVertexCount = mPolygonBasisList.size(); // Process Collision Polygon (if we've got one). if ( polyVertexCount > 0 ) { // Clear Polygon List. mPolygonLocalList.clear(); mPolygonLocalList.setSize( polyVertexCount ); // Scale/Orientate Polygon. for ( U32 n = 0; n < polyVertexCount; n++ ) { // Fetch Polygon Basis. Vector2 polyVertex = mPolygonBasisList[n]; // Scale. polyVertex.Set( polyVertex.x * mSize.x * (mFlipX ? -1.0f : 1.0f), polyVertex.y * mSize.y * (mFlipY ? -1.0f : 1.0f)); // Set Vertex. mPolygonLocalList[n] = polyVertex; } } } //---------------------------------------------------------------------------- Vector2 ShapeVector::getBoxFromPoints() { Vector2 box(1.0f, 1.0f); // Fetch Polygon Vertex Count. const U32 polyVertexCount = mPolygonBasisList.size(); F32 minX = 0; F32 minY = 0; F32 maxX = 0; F32 maxY = 0; // Process Collision Polygon (if we've got one). if ( polyVertexCount > 0 ) { // Scale/Orientate Polygon. for ( U32 n = 0; n < polyVertexCount; n++ ) { // Fetch Polygon Basis. Vector2 polyVertex = mPolygonBasisList[n]; if (polyVertex.x > maxX) maxX = polyVertex.x; else if (polyVertex.x < minX) minX = polyVertex.x; if (polyVertex.y > maxY) maxY = polyVertex.y; else if (polyVertex.y < minY) minY = polyVertex.y; } } box.x = maxX - minX; box.y = maxY - minY; return box; }
cpp
Dr. ARIJIT PASAYAT, J. 1. Challenge in this appeal is to the order passed by the Customs, Excise and Service Tax Appellate Tribunal, West Zonal Bench at Mumbai (in short the `CESTAT'). Challenge before the CESTAT was to the order of Commissioner of Customs who confirmed the duty demand of Rs.6,69,40,149/- on 9 consignments of gold and silver imported by M/s Aafloat Textiles (India) Ltd. (Formerly known as M/s Akai Impex Ltd.) under Section 28 alongwith appropriate interest under Section 28AB of the Customs Act, 1962 (in short the `Act'). The benefit of exemption in terms of Notification No.117/94-Cus. Dated 27.4.1997 was denied and liability of the goods to confiscation under Section 111(d) and (o) of the Act was upheld. But since the goods were not available, confiscation was not ordered. Penalty equal to duty amount on the importer under Section 114A of the Act was imposed and Rs.50 lakhs was imposed on Shri Mahendra Shah and Rs.25 lakhs each on four other appellants before the CESTAT. 2. Case of the department that the Special Import License (in short `SIL') purchased by the importer from brokers for clearance of gold and silver was forged and, therefore, was not valid for the consignments in question. 3. Background facts as emerging from the Commissioner's order are that the office premises of one M/s. Gazebo and M/s. Mahavir Corporation, were searched by officers of DRI and copy of SIL No.3536539 dated 6.8.1997 issued to M/s. Track Industries, Kanpur, was recovered. The Joint Director 2 General of Foreign Trade, Kanpur informed that no such licence had been issued and that the signature and security seal of their Foreign Trade Development Officer had been forged. The proprietor of M/s Gazebo, Shri R.T. Shah stated on 19.1.1998 that he had purchased the above bogus SIL from one Shri Sushil Kumar Lohia who, in turn admitted that the SIL was given to him by one Shri Manoj Kumar Jain and that he had obtained several bogus SILs from one Naresh Sheth and Shri Dinesh Buchasia, whose residential premises were searched and certain documents were recovered and his statement was recorded, wherein he stated that he had only dealt in 7 SILs which he bought at low premium from one Rajesh Chopra and that the SILs were forged. Shri Shinivas Pannalal Kalantri, General Manager of the importer company stated that gold/silver had been imported under SIL during the year 1996-97 and 1997-98, that one M/s. Lalbhai Trading Co. and two others were the clearing agents; that Shri Prakash Mohta of Finance Department looked after the purchase of SILs. The Chairman of the importer company stated that he looked after negotiation and purchase of bullion and sale of bullion; that Shri Prakash Mohta looked after purchase of licences, clearance of goods, delivery, payment to supplier etc. and that licence brokers through whom SILs were purchased and whom he knew, were Mr. Pachisia and Mr. Ketan Shah. The 3 statement of Shri Prakash Mohta, was also recorded in which he confirmed that he was looking after purchase of SILs for import of bullion and subsequently selling them in the local market. Shri Mahendra Shah stated that he had sold bogus SILs to the importer company. Shri Rasiklal Mehta stated that he and one AtuI Garodia met one Shri D.R. Gulati in Bombay who told that he could provide bogus SIL for which he would charge 3% to 4% premium, that Shri Gulati used to provide bogus SILs and Shri Garodia used to sell them in market and give them a premium of 3%. 4. The demand was confirmed under the proviso to Section 28(1) of the Act. The stand of the revenue that since the licenses were forged and were void, the buyer cannot have better title than the seller. CESTAT in appeal was of the view that the appeal could be disposed only on the ground of limitation without going into the merits of the matter. It was observed that there was no evidence to show that the importer had knowledge about the SIL being non- genuine. 5. It was also stated that the period of limitation is not to be reckoned from the date of discovery of the forgery. Accordingly, the demands including the penalty imposed were cancelled. 6. In support of the appeal, learned counsel for the appellant submitted that since the SIL involved was established to be forged there was no question of denying the extended period of limitation. 7. Learned counsel for the respondents on the other hand submitted that the department has not established that the buyer had knowledge about the forgery. The mens rea being one of the ingredients to avail extended period of limitation the CESTAT was justified in its conclusions. 8. As noted above, the CESTAT has not gone into the question whether the SIL involved was genuine or not. It was of the view that the department has not established that buyer had knowledge that there was any forgery involved. 9. "fraud" means an intention to deceive; whether it is from any expectation of advantage to the party himself or from the ill will towards the other is immaterial. The expression "fraud" involves two elements, deceit and injury to the person deceived. Injury is something other than economic loss, that is, deprivation of property, whether movable or immovable or of money and it will include and any harm whatever caused 5 to any person in body, mind, reputation or such others. In short, it is a non- economic or non-pecuniary loss. A benefit or advantage to the deceiver, will almost always call loss or detriment to the deceived. Even in those rare cases where there is a benefit or advantage to the deceiver, but no corresponding loss to the deceived, the second condition is satisfied. (See Dr. Vimla v. Delhi Administration (1963 Supp. 2 SCR 585) and Indian Bank v. Satyam Febres (India) Pvt. Ltd. (1996 (5) SCC 550). 10. A "fraud" is an act of deliberate deception with the design of securing something by taking unfair advantage of another. It is a deception in order to gain by another's loss. It is a cheating intended to get an advantage. (See S.P. Changalvaraya Naidu v. Jagannath [1993] INSC 458; (1994 (1) SCC 1). 11. "Fraud" as is well known vitiates every solemn act. Fraud and justice never dwell together. Fraud is a conduct either by letter or words, which includes the other person or authority to take a definite determinative stand as a response to the conduct of the former either by words or letter. It is also well settled that misrepresentation itself amounts to fraud. Indeed, innocent misrepresentation may also give reason to claim relief against fraud. A fraudulent misrepresentation is called deceit and consists in leading a man into damage by willfully or recklessly causing him to believe 6 and act on falsehood. It is a fraud in law if a party makes representations, which he knows to be false, and injury ensues therefrom although the motive from which the representations proceeded may not have been bad. An act of fraud on court is always viewed seriously. A collusion or conspiracy with a view to deprive the rights of the others in relation to a property would render the transaction void ab initio. Fraud and deception are synonymous. Although in a given case a deception may not amount to fraud, fraud is anathema to all equitable principles and any affair tainted with fraud cannot be perpetuated or saved by the application of any equitable doctrine including res judicata. (See Ram Chandra Singh v. Savitri Devi and Ors. (2003 (8) SCC 319). 12. "Fraud" and collusion vitiate even the most solemn proceedings in any civilized system of jurisprudence. It is a concept descriptive of human conduct. Michael Levi likens a fraudster to Milton's sorcerer, Comus, who exulted in his ability to, `wing me into the easy hearted man and trap him into snares'. It has been defined as an act of trickery or deceit. In Webster's Third New International Dictionary "fraud" in equity has been defined as an act or omission to act or concealment by which one person obtains an advantage against conscience over another or which equity or public policy forbids as being prejudicial to another. In Black's Legal Dictionary, 7 "fraud" is defined as an intentional perversion of truth for the purpose of inducing another in reliance upon it to part with some valuable thing belonging to him or surrender a legal right; a false representation of a matter of fact whether by words or by conduct, by false or misleading allegations, or by concealment of that which should have been disclosed, which deceives and is intended to deceive another so that he shall act upon it to his legal injury. In Concise Oxford Dictionary, it has been defined as criminal deception, use of false representation to gain unjust advantage; dishonest artifice or trick. According to Halsbury's Laws of England, a representation is deemed to have been false, and therefore a misrepresentation, if it was at the material date false in substance and in fact. Section 17 of the Indian Contract Act, 1872 defines "fraud" as act committed by a party to a contract with intent to deceive another. From dictionary meaning or even otherwise fraud arises out of deliberate active role of representator about a fact, which he knows to be untrue yet he succeeds in misleading the representee by making him believe it to be true. The representation to become fraudulent must be of fact with knowledge that it was false. In a leading English case i.e. Derry and Ors. v. Peek (1886- 90) All ER 1 what constitutes "fraud" was described thus: (All ER p. 22 B- C) "fraud" is proved when it is shown that a false representation has been 8 made (i) knowingly, or (ii) without belief in its truth, or (iii) recklessly, careless whether it be true or false". But "fraud" in public law is not the same as "fraud" in private law. Nor can the ingredients, which establish "fraud" in commercial transaction, be of assistance in determining fraud in Administrative Law. It has been aptly observed by Lord Bridge in Khawaja v. Secretary of State for Home Deptt. [1982] UKHL 5; (1983) 1 All ER 765, that it is dangerous to introduce maxims of common law as to effect of fraud while determining fraud in relation of statutory law. "Fraud" in relation to statute must be a colourable transaction to evade the provisions of a statute. "If a statute has been passed for some one particular purpose, a court of law will not countenance any attempt which may be made to extend the operation of the Act to something else which is quite foreign to its object and beyond its scope. Present day concept of fraud on statute has veered round abuse of power or mala fide exercise of power. It may arise due to overstepping the limits of power or defeating the provision of statute by adopting subterfuge or the power may be exercised for extraneous or irrelevant considerations. The colour of fraud in public law or administration law, as it is developing, is assuming different shades. It arises from a deception committed by disclosure of incorrect facts knowingly and deliberately to invoke exercise of power and procure an order from an authority or tribunal. It must result 9 in exercise of jurisdiction which otherwise would not have been exercised. The misrepresentation must be in relation to the conditions provided in a section on existence or non-existence of which the power can be exercised. But non-disclosure of a fact not required by a statute to be disclosed may not amount to fraud. Even in commercial transactions non-disclosure of every fact does not vitiate the agreement. "In a contract every person must look for himself and ensures that he acquires the information necessary to avoid bad bargain. In public law the duty is not to deceive. (See Shrisht Dhawan (Smt.) v. M/s. Shaw Brothers, (1992 (1) SCC 534). 13. In that case it was observed as follows: "Fraud and collusion vitiate even the most solemn proceedings in any civilized system of jurisprudence. It is a concept descriptive of human conduct. Michael levi likens a fraudster to Milton's sorcerer, Comus, who exulted in his ability to, 'wing me into the easy-hearted man and trap him into snares'. It has been defined as an act of trickery or deceit. In Webster's Third New International Dictionary fraud in equity has been defined as an act or omission to act or concealment by which one person obtains an advantage against conscience over another or which equity or public policy forbids as being prejudicial to another. In Black's Legal Dictionary, fraud is defined as an intentional perversion of truth for the purpose of inducing another in reliance upon it to part with some valuable thing belonging to him or surrender a legal right; a false representation of a matter of fact whether by words or by conduct, by false or misleading allegations, or by concealment of that which should have been disclosed, which deceives and is intended to deceive another so that he shall act upon it to his legal injury. In Concise Oxford Dictionary, it has been defined 10 as criminal deception, use of false representation to gain unjust advantage; dishonest artifice or trick. According to Halsbury's Laws of England, a representation is deemed to have been false, and therefore a misrepresentation, if it was at the material date false in substance and in fact. Section 17 of the Contract Act defines fraud as act committed by a party to a contract with intent to deceive another. From dictionary meaning or even otherwise fraud arises out of deliberate active role of representator about a fact which he knows to be untrue yet he succeeds in misleading the representee by making him believe it to be true. The representation to become fraudulent must be of the fact with knowledge that it was false. In a leading English case Derry v. Peek [(1886-90) ALL ER Rep 1: (1889) 14 AC 337 (HL)] what constitutes fraud was described thus: (All Er p. 22 B-C) `Fraud is proved when it is shown that a false representation has been made (i) knowingly, or (ii) without belief in its truth, or (iii) recklessly, careless whether it be true or false'." 14. This aspect of the matter has been considered by this Court in Roshan Deen v. Preeti Lal (2002 (1) SCC 100) Ram Preeti Yadav v. U.P. Board of High School and Intermediate Education (2003 (8) SCC 311), Ram Chandra Singh's case (supra) and Ashok Leyland Ltd. v. State of T.N. and Another (2004 (3) SCC 1). 15. Suppression of a material document would also amount to a fraud on the court. (see Gowrishankar v. Joshi Amba Shankar Family Trust (1996 (3) SCC 310) and S.P. Chengalvaraya Naidu's case (supra). 16. "Fraud" is a conduct either by letter or words, which induces the other person or authority to take a definite determinative stand as a response to the conduct of the former either by words or letter. Although negligence is not fraud but it can be evidence on fraud; as observed in Ram Preeti Yadav's case (supra). 17. In Lazarus Estate Ltd. v. Beasley (1956) 1 QB 702, Lord Denning observed at pages 712 & 713, "No judgment of a Court, no order of a Minister can be allowed to stand if it has been obtained by fraud. Fraud unravels everything." In the same judgment Lord Parker LJ observed that fraud vitiates all transactions known to the law of however high a degree of solemnity. (page 722) 18. These aspects were highlighted in the State of Andhra Pradesh and Anr. v. T. Suryachandr Rao (2005 (5) SCALE 621) and Bhaurao Dagdu Paralkar v. State of Maharashtra and Ors. (2005 (7) SCC 605) 19. It was for the buyer to establish that he had no knowledge about the genuineness or otherwise of the SIL in question. 20. The maxim caveat emptor is clearly applicable to a case of this nature. As per Advanced Law Lexicon by P. Ramanatha Aiyar, 3rd Edn. 2005 at page 721: Caveat emptor means "Let the purchaser beware." It is one of the settled maxims, applying to a purchaser who is bound by actual as well as constructive knowledge of any defect in the thing purchased, which is obvious, or which might have been known by proper diligence. 21. "Caveat emptor does not mean either in law or in Latin that the buyer must take chances. It means that the buyer must take care." (See Wallis v. 22. "Caveat emptor is the ordinary rule in contract. A vendor is under no duty to communicate the existence even of latent defects in his wares unless by act or implication he represents such defects not to exist." (See William R. Anson, Principles of the Law of Contract 245 (Arthur L. Corbin Ed.3d. Am. ed.1919) Applying the maxim, it was held that it is the bounden duty of the purchaser to make all such necessary enquiries and to ascertain all the facts relating to the property to be purchased prior to committing in any manner. 23. Caveat emptor, qui ignorare non debuit quod jus alienum emit. A maxim meaning "Let a purchaser beware; who ought not to be ignorant that he is purchasing the rights of another. Hob. 99; Broom; Co., Litl. 102 a: 3 Taunt. 439. 24. As the maxim applies, with certain specific restrictions, not only to the quality of, but also to the title to, land which is sold, the purchaser is generally bound to view the land and to enquire after and inspect the title- deeds; at his peril if he does not. 25. Upon a sale of goods the general rule with regard to their nature or quality is caveat emptor, so that in the absence of fraud, the buyer has no remedy against the seller for any defect in the goods not covered by some condition or warranty, expressed or implied. It is beyond all doubt that, by the general rules of law there is no warranty of quality arising from the bare contract of sale of goods, and that where there has been no fraud, a buyer who has not obtained an express warranty, takes all risk of defect in the goods, unless there are circumstances beyond the mere fact of sale from which a warranty may be implied. (Bottomley v. Bannister, [1932] 1 KB 458 : Ward v. Hobbs, 4 App Cas 13}. (Latin for Lawyers) 14 26. No one ought in ignorance to buy that which is the right of another. The buyer according to the maxim has to be cautious, as the risk is his and not that of the seller. 27. Whether the buyer had made any enquiry as to the genuineness of the license within his special knowledge. He has to establish that he made enquiry and took requisite precautions to find out about the genuineness of the SIL which he was purchasing. If he has not done that consequences have to follow. These aspects do not appear to have been considered by the CESTAT in coming to the abrupt conclusion that even if one or all the respondents had knowledge that the SIL was forged or fake that was not sufficient to hold that there was no omission or commission on his part so as to render silver or gold liable for confiscation. 28. As noted above, SILs were not genuine documents and were forged. Since fraud was involved, in the eye of law such documents had no existence. Since the documents have been established to be forged or fake, obviously fraud was involved and that was sufficient to extend the period of limitation. 29. In view of this finding the other issues raised by the respondent are of academic interest. 30. The appeal is allowed. There shall be no order as to costs.
english
<reponame>yona3/next-typescript-tailwind import type { ReactNode, VFC } from "react"; import { Header } from "./Header"; type Props = { children: ReactNode; }; export const Layout: VFC<Props> = ({ children }) => { return ( <div className="min-h-screen"> <Header /> <div>{children}</div> </div> ); };
typescript
<filename>analysisCodes/hotrgFlow.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Sep 4 15:06:00 2020 Anlysis of the flow of 1) norm of the tensor, 2) singular value spectrum of the tensor, and 3) norm of the difference of the two tensors in adjacent RG step @author: brucelyu """ from HOTRG import normFlowHOTRG import numpy as np import argparse import os import pickle as pkl from datetime import datetime # argument parser parser = argparse.ArgumentParser( "Anlysis of the flow of 1) norm of the tensor, " + "2) singular value spectrum of the tensor, and " + "3) norm of the difference of the two tensors in adjacent RG step") parser.add_argument("--chi", dest = "chi", type = int, help = "bound dimension (default: 10)", default = 10) parser.add_argument("--maxiter", dest = "maxiter", type = int, help = "maximal HOTRG iteration (default: 50)", default = 50) parser.add_argument("--gilteps", dest = "gilteps", type = float, help = "a number smaller than which we think the" + "singluar values for the environment spectrum is zero" + "(default: 1e-7)", default = 1e-7) parser.add_argument("--nosignfix", help = "whether to not fix sign", action = "store_true") parser.add_argument("--verbose", help = "whether to print information", action = "store_true") parser.add_argument("--scheme", dest = "scheme", type = str, help = "RG scheme to use", choices = ["hotrg", "Gilt-HOTRG"], default = "Gilt-HOTRG") parser.add_argument("--cgeps", dest = "cgeps", type = float, help = "a number smaller than which we think the" + "singluar values for the environment in RG spectrum is zero" + "(default: 1e-10)", default = 1e-10) parser.add_argument("--Ngilt", dest = "Ngilt", type = int, help = "How many times do we perform Gilt in oneHOTRG", choices = [1,2], default = 1) parser.add_argument("--legcut", dest = "legcut", type = int, help = "number of leg to cut in gilt_hotrgplaq", choices = [2,4], default = 4) parser.add_argument("--stbk", dest = "stbk", type = int, help = "A int after which we will try to stabilize the gilt process", default = 1000) # read from argument parser args = parser.parse_args() chi = args.chi iter_max = args.maxiter gilteps = args.gilteps verbose = args.verbose allchi = [chi,chi] scheme = args.scheme cgeps = args.cgeps Ngilt = args.Ngilt legcut = args.legcut stablek = args.stbk fixSign = not args.nosignfix # Print out the time when the script is executed now = datetime.now() current_time = now.strftime("%Y-%m-%d. %H:%M:%S") print("Running Time =", current_time) # input and output file name if scheme == "hotrg": figdir = "hotrg" chieps = "chi{:02d}".format(chi) elif scheme == "Gilt-HOTRG": if fixSign: figdir = "gilt_hotrg{:d}{:d}_flow".format(Ngilt, legcut) else: figdir = "gilt_hotrg{:d}{:d}_nosignfix".format(Ngilt, legcut) chieps = "eps{:.0e}_chi{:02d}".format(gilteps, chi) savedirectory = "../out/" + figdir + "/" + chieps # read Tc if exists relTc = 1.0 Tcfile = savedirectory + "/Tc.pkl" if not os.path.exists(Tcfile): relTc = 1.0 print("No estimated Tc exists, set Tc = 1.") else: with open(Tcfile,"rb") as f: Tlow, Thi = pkl.load(f) relTc = Thi * 1 Tcerr = abs(Thi - Tlow) / (Tlow + Thi) outacc = int("{:e}".format(Tcerr)[-2:]) print("Read the estimated Tc = {Tcval:.{acc}f}".format(Tcval = relTc, acc = outacc)) print("Related error of the estimate is {:.1e}".format(Tcerr)) print("Step 2: Start to generate data of the flow of the tensor A...") # Generate data of 2) singular value spectrum of the tensor singValFile = savedirectory + "/flowAtTc_fixSign.pkl" if scheme == "hotrg": # generate flow of |A| at different temperature near Tc devTc = [3,6,8] datadic ={} for acc in devTc: Tdevhi = relTc + 10**(-acc) Tdevlow = relTc - 10**(-acc) AnormH = normFlowHOTRG(Tdevhi,[chi,chi], iter_max, isDisp = False, isGilt = False, isSym = False, gilt_eps = gilteps, cg_eps = cgeps, N_gilt = Ngilt, legcut = legcut, stableStep = stablek)[0] AnormL = normFlowHOTRG(Tdevlow,[chi,chi], iter_max, isDisp = False, isGilt = False, isSym = False, gilt_eps = gilteps, cg_eps = cgeps, N_gilt = Ngilt, legcut = legcut, stableStep = stablek)[0] datadic[acc] = [AnormL, AnormH] datadicFile = savedirectory + "/flowDiffAcc.pkl" with open(datadicFile,"wb") as f: pkl.dump(datadic, f) elif scheme == "Gilt-HOTRG": # Generate the flow of |A| at the estimated Tc savedir = "./data/" + figdir + "/" + chieps # create the directory if not exists if not os.path.exists(savedir): os.makedirs(savedir) print("At T = Tc") Anorm, slist, Adifflist = normFlowHOTRG(relTc,allchi, iter_max, isDisp = verbose, isGilt = True, isSym = True, isfixGauge = fixSign, gilt_eps = gilteps, cg_eps = cgeps, return_sing = True, N_gilt = Ngilt, legcut = legcut, stableStep = stablek, saveData = [True, savedir]) # # generate flow of |A| at different temperature near Tc # devTc = [3,6,10] # datadic ={} # for acc in devTc: # Tdevhi = Thi + 10**(-acc) # Tdevlow = Tlow - 10**(-acc) # print("At T = Tc + 10^-{:d}".format(acc)) # AnormH = normFlowHOTRG(Tdevhi,[chi,chi], iter_max, isDisp = verbose, # isGilt = True, isSym = True, # gilt_eps = gilteps, cg_eps = cgeps, # N_gilt = Ngilt, legcut = legcut, # stableStep = stablek)[0] # print("At T = Tc - 10^-{:d}".format(acc)) # AnormL = normFlowHOTRG(Tdevlow,[chi,chi], iter_max, isDisp = verbose, # isGilt = True, isSym = True, # gilt_eps = gilteps, cg_eps = cgeps, # N_gilt = Ngilt, legcut = legcut, # stableStep = stablek)[0] # datadic[acc] = [AnormL, AnormH] # datadicFile = savedirectory + "/flowDiffAcc.pkl" # with open(datadicFile,"wb") as f: # pkl.dump(datadic, f) if scheme == "hotrg" or scheme == "trg": pass # with open(singValFile, "wb") as f: # pkl.dump([sarr, Adifflist], f) elif scheme =="Gilt-HOTRG": Nsing = max([len(inner) for inner in slist]) for i in range(len(slist)): temp = [slist[i][j] if j < len(slist[i]) else 0 for j in range(Nsing)] slist[i] = temp sarr = np.array(slist) with open(singValFile, "wb") as f: pkl.dump([sarr, Adifflist], f) print("Step 2 finished! ")
python
{"word":"accommodable","definition":"That may be accommodated, fitted, or made to agree. [R.] I. Watts."}
json
from __future__ import division import numpy as np import six from keras.models import Model from keras.layers import ( Input, Activation, Dense, Flatten ) from keras.layers.convolutional import ( Conv2D, MaxPooling2D, AveragePooling2D ) from keras.layers.merge import add from keras.layers.normalization import BatchNormalization from keras.regularizers import l2 from keras import backend as K input_shape=np.zeros((1,34,34,3)) residual_shape=np.zeros((1,10,10,3)) ROW_AXIS=1 COL_AXIS=2 stride_width = int(round(input_shape[ROW_AXIS] / residual_shape[ROW_AXIS])) stride_height = int(round(input_shape[COL_AXIS] / residual_shape[COL_AXIS]))#round 四舍五入到整数 shortcut = Conv2D(filters=residual_shape[CHANNEL_AXIS],#这个变形操作复杂一点.论文上是用一个矩阵来做线性变换,这里面是用卷积压缩 kernel_size=(1, 1),#第一个filters保证了channel的维度不变. strides=(stride_width, stride_height),#下面证明为什么kernal_size(1,1) strides取这个数值时候会输出residual_shape padding="valid", #虽然具体画图比较显然,严格证明感觉还是吃力. kernel_initializer="he_normal", kernel_regularizer=l2(0.0001))(input) model = shortcut((img_channels, img_rows, img_cols), nb_classes) model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy']) model.fit(X_train, Y_train, batch_size=batch_size, nb_epoch=nb_epoch, validation_data=(X_test, Y_test), shuffle=True, callbacks=[lr_reducer, early_stopper, csv_logger])
python
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding. You are using an out of date browser. It may not display this or other websites correctly. Suggst an perfect graphics card for my config!!!! my pc specs: intel dual core 2.3ghz,ddr2 ram,160hdd :!:suggest a best graphics card with good performnce under 2000!!!! Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.
english
RRB has released the answer key for the RRB Group D Exam. Candidates can download the RRB Group D answer key from the official websites - rrbcdg. gov. in and other regional websites. Steps and direct links have been shared below. Railway Recruitment Board, RRB has released the RRB Group D Answer Key today, October 14, 2022. Candidates who appeared for the RRB Group D Exam 2022 can now download the provisional answer key and question papers from the official website – rrbcdg. gov. in, rrbkolkata. gov. in and other regional websites. As per the official schedule released by the railway board, candidates will be allowed to raise their objections to the answer keys from tomorrow, October 15, 2022 onwards. For every objection raised, candidates would be required to pay a fee of Rs. 50. Candidates can refer to the process given below to know how to download the RRB Answer key for the Group D Exam. - Download it and take a printout for future references. Along with the answer keys, the questions papers for all phases of the RRB Group D Exam 2022 have also been released for candidates to refer to. Candidates will have time till October 19, 2022 to raise objections to the RRB Group D answer key. The final answer key and result will be released on the basis of objections raised by candidates.
english
[{"code":"0137","name":"きらぼし","name_kana":"キラボシ"},{"code":"0158","name":"京都","name_kana":"キヨウト"},{"code":"0163","name":"紀陽","name_kana":"キヨウ"},{"code":"0191","name":"北九州","name_kana":"キタキユウシユウ"},{"code":"0508","name":"きらやか","name_kana":"キラヤカ"},{"code":"0509","name":"北日本","name_kana":"キタニツポン"},{"code":"1010","name":"北空知信金","name_kana":"キタソラチシンキン"},{"code":"1030","name":"北見信金","name_kana":"キタミシンキン"},{"code":"1154","name":"北上信金","name_kana":"キタカミシンキン"},{"code":"1204","name":"桐生信金","name_kana":"キリユウシンキン"},{"code":"1210","name":"北群馬信金","name_kana":"キタグンマシンキン"},{"code":"1530","name":"岐阜信金","name_kana":"ギフシンキン"},{"code":"1581","name":"北伊勢上野信金","name_kana":"キタイセウエノシンキン"},{"code":"1585","name":"紀北信金","name_kana":"キホクシンキン"},{"code":"1610","name":"京都信金","name_kana":"キヨウトシンキン"},{"code":"1611","name":"京都中央信金","name_kana":"キヨウトチユウオウシンキン"},{"code":"1620","name":"京都北都信金","name_kana":"キヨウトホクトシンキン"},{"code":"1645","name":"北おおさか信金","name_kana":"キタオオサカシンキン"},{"code":"1674","name":"きのくに信金","name_kana":"キノクニシンキン"},{"code":"1741","name":"吉備信金","name_kana":"キビシンキン"},{"code":"1933","name":"九州ひぜん信金","name_kana":"キユウシユウヒゼンシンキン"},{"code":"2083","name":"北郡信組","name_kana":"キタグンシンクミ"},{"code":"2190","name":"君津信組","name_kana":"キミツシンクミ"},{"code":"2241","name":"共立信組","name_kana":"キヨウリツシンクミ"},{"code":"2360","name":"協栄信組","name_kana":"キヨウエイシンクミ"},{"code":"2470","name":"岐阜商工信組","name_kana":"ギフシヨウコウシンクミ"},{"code":"2473","name":"岐阜県医師信組","name_kana":"ギフケンイシシンクミ"},{"code":"2567","name":"近畿産業信組","name_kana":"キンキサンギヨウシンクミ"},{"code":"2978","name":"近畿労金","name_kana":"キンキロウキン"},{"code":"2990","name":"九州労金","name_kana":"キユウシユウロウキン"},{"code":"3020","name":"岐阜県信連","name_kana":"ギフケンシンレン"},{"code":"3026","name":"京都府信連","name_kana":"キヨウトフシンレン"},{"code":"3056","name":"北檜山町農協","name_kana":"キタヒヤマチヨウノウキヨウ"},{"code":"3087","name":"きょうわ農協","name_kana":"キヨウワノウキヨウ"},{"code":"3145","name":"北石狩農協","name_kana":"キタイシカリノウキヨウ"},{"code":"3188","name":"北いぶき農協","name_kana":"キタイブキノウキヨウ"},{"code":"3189","name":"きたそらち農協","name_kana":"キタソラチノウキヨウ"},{"code":"3238","name":"北ひびき農協","name_kana":"キタヒビキノウキヨウ"},{"code":"3248","name":"北はるか農協","name_kana":"キタハルカノウキヨウ"},{"code":"3257","name":"北宗谷農協","name_kana":"キタソウヤノウキヨウ"},{"code":"3277","name":"木野農協","name_kana":"キノノウキヨウ"},{"code":"3297","name":"北オホーツク農協","name_kana":"キタオホ-ツクノウキヨウ"},{"code":"3317","name":"きたみらい農協","name_kana":"キタミライノウキヨウ"},{"code":"3330","name":"清里町農協","name_kana":"キヨサトチヨウノウキヨウ"},{"code":"4397","name":"北つくば農協","name_kana":"キタツクバノウキヨウ"},{"code":"4593","name":"北群渋川農協","name_kana":"キタグンシブカワノウキヨウ"},{"code":"4902","name":"木更津市農協","name_kana":"キサラヅシノウキヨウ"},{"code":"4909","name":"君津市農協","name_kana":"キミツシノウキヨウ"},{"code":"5284","name":"北富士農協","name_kana":"キタフジノウキヨウ"},{"code":"5441","name":"木曽農協","name_kana":"キソノウキヨウ"},{"code":"5541","name":"北蒲みなみ農協","name_kana":"キタカンミナミノウキヨウ"},{"code":"5554","name":"北越後農協","name_kana":"キタエチゴノウキヨウ"},{"code":"5693","name":"北魚沼農協","name_kana":"キタウオヌマノウキヨウ"},{"code":"6129","name":"ぎふ農協","name_kana":"ギフノウキヨウ"},{"code":"6924","name":"北びわこ農協","name_kana":"キタビワコノウキヨウ"},{"code":"6941","name":"京都市農協","name_kana":"キヨウトシノウキヨウ"},{"code":"6956","name":"京都中央農協","name_kana":"キヨウトチユウオウノウキヨウ"},{"code":"6961","name":"京都やましろ農協","name_kana":"キヨウトヤマシロノウキヨウ"},{"code":"6990","name":"京都農協","name_kana":"キヨウトノウキヨウ"},{"code":"6996","name":"京都丹の国農協","name_kana":"キヨウトニノクニノウキヨウ"},{"code":"7025","name":"北大阪農協","name_kana":"キタオオサカノウキヨウ"},{"code":"7193","name":"北河内農協","name_kana":"キタカワチノウキヨウ"},{"code":"7543","name":"紀の里農協","name_kana":"キノサトノウキヨウ"},{"code":"7550","name":"紀北川上農協","name_kana":"キホクカワカミノウキヨウ"},{"code":"7565","name":"紀州農協","name_kana":"キシユウノウキヨウ"},{"code":"7576","name":"紀南農協","name_kana":"キナンノウキヨウ"},{"code":"8692","name":"北九州農協","name_kana":"キタキユウシユウノウキヨウ"},{"code":"8949","name":"菊池地域農協","name_kana":"キクチチイキノウキヨウ"},{"code":"9296","name":"北さつま農協","name_kana":"キタサツマノウキヨウ"},{"code":"9347","name":"肝付吾平町農協","name_kana":"キモツキアイラチヨウノウキヨウ"},{"code":"9475","name":"京都府信漁連","name_kana":"キヨウトフシンギヨレン"}]
json
def word_len(word): """Returns the length of word not counting spaces >>> word_len("a la carte") 8 >>> word_len("hello") 5 >>> word_len('') 0 >>> word_len("coup d'etat") 10 """ num = len(word) for i in range(len(word)): if word[i] == " ": num = num-1 return num def has_no_e(word): """Returns True if word contains no e letter >>> has_no_e("hello") False >>> has_no_e("myopia") True """ word.split() if "e" in word: return False else: return True def avoids(word, forbidden): """Returns True if word does not contain any letter in forbidden string >>> avoids('yummy', 'abcdefg') True >>> avoids('dictionary', 'abcdefg') False >>> avoids('crypt', 'aeiou') True >>> avoids('tangible', 'aeiou') False """ for letter in word: if letter in forbidden: return False return True def uses_only(word, available): """Returns True if each of the letters in word is contained in string >>> uses_only('aloha', 'acefhlo') True >>> uses_only('flow', 'acefhlo') False >>> uses_only('pizza', 'enipaz') True >>> uses_only('pineapple', 'enipaz') False >>> uses_only('spine', 'enipaz') False """ ans = 0 word.split available.split for i in range(len(word)): for j in range(len(available)): if word[i] == available[j]: ans += 1 continue if ans == len(word): return True else: return False def uses_all(word, required): """Returns True if each of the letters in required is contained in word >>> uses_all('resampling', 'aeipn') True >>> uses_all('plenty', 'aeipn') False >>> uses_all('penalize', 'enipaz') True >>> uses_all('penalty', 'enipaz') False """ def is_abecedarian(word): """Returns True if the letters in a word appear in alphabetical order >>> is_abecedarian('loop') True >>> is_abecedarian('almost') True >>> is_abecedarian('lopsided') False >>> is_abecedarian('always') False """ previous = word[0] for c in word: if c < previous: return False previous = c return True
python
{ "description": "Tracking OASE 3D Bonn/Juelich composite, xband_oase_zh, threshold 20 dBZ", "meanie3D-detect": "--d z,y,x -v xband_oase_zh --lower-thresholds xband_oase_zh=20 --upper-thresholds xband_oase_zh=75 --min-cluster-size=27", "meanie3D-track": "-t xband_oase_zh --verbosity 1 --wr=1.0 --ws=0.0 --wt=0.0", "use_previous": true }
json
import { IsEmail, IsEnum, IsOptional, IsString } from "class-validator" import _ from "lodash" import { UserRoles } from "../../../../models/user" import UserService from "../../../../services/user" import { validator } from "../../../../utils/validator" /** * @oas [post] /users * operationId: "PostUsers" * summary: "Create a User" * description: "Creates a User" * x-authenticated: true * requestBody: * content: * application/json: * schema: * required: * - email * - password * properties: * email: * description: "The Users email." * type: string * first_name: * description: "The name of the User." * type: string * last_name: * description: "The name of the User." * type: string * role: * description: "Userrole assigned to the user." * type: string * password: * description: "The Users password." * type: string * tags: * - Users * responses: * 200: * description: OK * content: * application/json: * schema: * properties: * user: * $ref: "#/components/schemas/user" */ export default async (req, res) => { const validated = await validator(AdminCreateUserRequest, req.body) const userService: UserService = req.scope.resolve("userService") const data = _.omit(validated, ["password"]) const user = await userService.create(data, validated.password) res.status(200).json({ user: _.omit(user, ["password_hash"]) }) } export class AdminCreateUserRequest { @IsEmail() email: string @IsOptional() @IsString() first_name?: string @IsOptional() @IsString() last_name?: string @IsEnum(UserRoles) @IsOptional() role?: UserRoles @IsString() password: string }
typescript
const User = require('./../model/userModel'); const bcrypt = require('bcryptjs'); const jwt = require('jsonwebtoken'); const config = require('./../config/config') const getAllUser = (req, res, next) => { User.find() .then(result => { if(result){ res.status(200).json({ message: `${result.length} user found`, users: result }) } }).catch(err => { console.log(err) res.status(500).json({ error: "error occurred" }) }) } const signupUser = (req, res, next) => { User.findOne({email: req.body.email}) .then(result => { if(!result){ bcrypt.hash(req.body.password, 10, (err, hash) => { if(err){ console.log(err) res.status(500).json({ error: 'Password hasing faild', }) }else{ if(hash) { const user = new User({ email: req.body.email, password: <PASSWORD> }) user.save() .then(result => { if(result){ res.status(200).json({ message: " user signup successfull", user: result }) }else{ res.status(500).json({ error: 'user signup faild' }) } }).catch(err => { console.log(err) res.status(500).json({ error: 'error occurred' }) }) } } }) }else{ res.status(500).json({ error: 'User already exits' }) } }).catch(err => { console.log(err) res.status(500).json({ error: 'Error occurred' }) }) } const signinUser = (req, res, next) => { User.findOne({email: req.body.email}) .then(result => { console.log(result) if(result){ bcrypt.compare(req.body.password, result.password, (err, user) => { if(err) { console.log(err) res.status(500).json({ error: 'password hashing faild', }) }else{ if(user){ jwt.sign({ _id: result._id, email:result.email }, config.SECRETKEY,{ expiresIn: '1h' }, (err, token) => { if(err){ console.log(err) res.status(500).json({ error: "error occurred" }) }else{ if(token){ res.status(200).json({ message: 'user logged in successfully', token: token }) } } }) } } }) }else{ res.status(404).json({ error: 'email or password dont match' }) } }).catch(err => { console.log(err) res.status(500).json({ error: 'error occurred', }) }) } module.exports = { getAllUser, signupUser, signinUser }
javascript
Big Bazaar is likely to beat rivals Grofers and Flipkart, taking a lead in the online grocery war. Sources said the Kishore Biyani-led hypermarket chain could soon be the biggest grocery seller on Amazon India. At present, it fulfills 300 to 1,000 orders per day per store for Amazon. The might go up four time by early next year. Big Bazaar has more than 300 stores in India. Amazon might soon use it for fulfilling its two-hour grocery and fresh produce delivery service. It has been fulfilling orders for Amazon’s Prime Now service from 18 stores in New Delhi, Mumbai and Bengaluru. In the next phase, the service will be increased to 12 cities, eventually covering 130 cities. TO READ THE FULL STORY, SUBSCRIBE NOW NOW AT JUST RS 249 A MONTH. What you get on Business Standard Premium? - Unlock 30+ premium stories daily hand-picked by our editors, across devices on browser and app. - Pick your 5 favourite companies, get a daily email with all news updates on them. - Full access to our intuitive epaper - clip, save, share articles from any device; newspaper archives from 2006. - Preferential invites to Business Standard events. - Curated newsletters on markets, personal finance, policy & politics, start-ups, technology, and more.
english
<reponame>UoM-ResPlat-DevOps/unimelb-mf-ssh-plugin package io.github.xtman.ssh.client.jsch; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import io.github.xtman.file.util.FileUtils; import io.github.xtman.io.util.StreamUtils; import io.github.xtman.ssh.client.Connection; import io.github.xtman.ssh.client.FileAttrs; import io.github.xtman.ssh.client.TransferClient; import io.github.xtman.util.PathUtils; public abstract class JschTransferClient<T extends com.jcraft.jsch.Channel> implements TransferClient { private JschConnection _cxn; protected T channel; private String _remoteBaseDir; private String _encoding; private Integer _dirMode; private Integer _fileMode; private boolean _compress; private boolean _preserve; protected boolean verbose; protected JschTransferClient(JschConnection connection, T channel, String remoteBaseDir, String encoding, Integer dirMode, Integer fileMode, boolean compress, boolean preserve, boolean verbose) { _cxn = connection; this.channel = channel; _remoteBaseDir = (remoteBaseDir == null || remoteBaseDir.trim().isEmpty()) ? Connection.DEFAULT_REMOTE_BASE_DIRECTORY : remoteBaseDir.trim(); _encoding = encoding == null ? Connection.DEFAULT_ENCODING : encoding; _dirMode = dirMode == null ? TransferClient.DEFAULT_DIRECTORY_MODE : dirMode; _fileMode = fileMode == null ? TransferClient.DEFAULT_FILE_MODE : fileMode; this.verbose = verbose; } @Override public Connection connection() { return _cxn; } @Override public void close() throws IOException { try { if (this.verbose) { System.out.print("closing " + channelType() + " channel ... "); } this.channel.disconnect(); if (this.verbose) { System.out.println("done"); } } finally { _cxn.removeChannel(this.channel); } } public String remoteBaseDirectory() { return _remoteBaseDir; } public void setRemoteBaseDirectory(String baseDir) throws Throwable { if (baseDir == null || baseDir.trim().isEmpty()) { _remoteBaseDir = Connection.DEFAULT_REMOTE_BASE_DIRECTORY; } else { _remoteBaseDir = baseDir.trim(); } } @Override public String encoding() { return _encoding; } @Override public void setEncoding(String encoding) { _encoding = encoding; } @Override public boolean verbose() { return this.verbose; } @Override public void setVerbose(boolean verbose) { this.verbose = verbose; } @Override public Integer defaultDirectoryMode() { return _dirMode; } @Override public void setDefaultDirectoryMode(Integer dirMode) { _dirMode = dirMode; } @Override public Integer defaultFileMode() { return _fileMode; } @Override public void setDefaultFileMode(Integer fileMode) { _fileMode = fileMode; } @Override public boolean compress() { return _compress; } @Override public void setCompress(boolean compress) { _compress = compress; } @Override public boolean preserve() { return _preserve; } @Override public void setPreserve(boolean preserve) { _preserve = preserve; } @Override public void get(String remotePath, final File dstDir) throws Throwable { get(remotePath, new GetHandler() { @Override public void getFile(FileAttrs fileAttrs, InputStream in) throws Throwable { File of = new File(PathUtils.join(dstDir.getAbsolutePath(), fileAttrs.path())); File dir = of.getParentFile(); if (!dir.exists()) { dir.mkdirs(); } OutputStream os = new BufferedOutputStream(new FileOutputStream(of)); try { StreamUtils.copy(in, os); } finally { os.close(); } // TODO set attrs } @Override public void getDirectory(FileAttrs dirAttrs) throws Throwable { File dir = new File(PathUtils.join(dstDir.getAbsolutePath(), dirAttrs.path())); if (!dir.exists()) { dir.mkdirs(); } // TODO set attrs } }); } @Override public void getDirectory(String remotePath, File dstDir) throws Throwable { get(remotePath, dstDir); } @Override public void getFile(final String remotePath, final OutputStream out) throws Throwable { get(remotePath, new GetHandler() { @Override public void getFile(FileAttrs file, InputStream in) throws Throwable { StreamUtils.copy(in, out); } @Override public void getDirectory(FileAttrs dir) throws Throwable { throw new IOException("Remote directory: '" + remotePath + "' is not a regular file."); } }); } @Override public void getFile(String remotePath, File dstDir) throws Throwable { File of = new File(dstDir, PathUtils.getLastComponent(remotePath)); OutputStream os = new BufferedOutputStream(new FileOutputStream(of)); try { getFile(remotePath, os); } finally { os.close(); } } @Override public void mkdirs(FileAttrs dir) throws Throwable { assert dir.isDirectory(); put(dir, null); } @Override public void mkdirs(String dir) throws Throwable { mkdirs(new FileAttrs(dir, this.defaultDirectoryMode(), null, null)); } @Override public void put(InputStream in, long length, Integer mode, Integer mtime, Integer atime, String dstPath) throws Throwable { put(new FileAttrs(dstPath, mode, length, mtime, atime), in); } @Override public void put(InputStream in, long length, String dstPath) throws Throwable { put(in, length, this.defaultFileMode(), null, null, dstPath); } @Override public void put(File f, String dstPath) throws Throwable { InputStream in = new BufferedInputStream(new FileInputStream(f)); try { int mode = FileUtils.getFilePermissions(f); int mtime = FileUtils.getMTime(f); int atime = FileUtils.getATime(f); put(in, f.length(), mode, mtime, atime, dstPath); } finally { in.close(); } } @Override public void put(Path f, String dstPath) throws Throwable { put(f.toFile(), dstPath); } @Override public void putDirectory(File dir) throws Throwable { putDirectory(dir, true); } @Override public void putDirectory(File dir, boolean self) throws Throwable { putDirectory(dir.toPath(), self); } @Override public void putDirectory(final Path dir) throws Throwable { putDirectory(dir, true); } @Override public void putDirectory(final Path dir, final boolean self) throws Throwable { final String dirName = dir.getFileName().toString(); if (self) { mkdirs(dirName); } Files.walkFileTree(dir, new SimpleFileVisitor<Path>() { @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { String dstPath = PathUtils.getRelativePath(file, dir); if (self) { dstPath = PathUtils.join(dirName, dstPath); } try { put(file, dstPath); } catch (Throwable e) { if (e instanceof IOException) { throw (IOException) e; } else { throw new IOException(e); } } return FileVisitResult.CONTINUE; } @Override public FileVisitResult visitFileFailed(Path file, IOException ioe) { return FileVisitResult.CONTINUE; } @Override public FileVisitResult postVisitDirectory(Path dir, IOException ioe) { return FileVisitResult.CONTINUE; } }); } }
java
Well, that escalated quickly. And literally. This one's a gold from the archives. Former professional tennis player and renowned sports anchor Mary Carillo is well known for her forthright opinions, laced with biting wit. Sometimes, her candour gets her into trouble. Andre Agassi and Serena Williams haven't spoken to her for years. At the 2004 Olympics in Athens, Carillo was responsible for the badminton coverage. She began by taking about badminton equipment and how the racquets and shuttlecocks professionals use differ from the ones people have at home. So far so good. What followed was a pitch-perfect rant, completely ad-libbed, about how a simple game of backyard badminton turns into a mayhem-filled and riotous endeavour. "You’ve got Colleen Clark up in the tree, trying to get down a Sponge Bob Square Pants beach ball with a hockey stick. There’s pool sticks flying through the air like javelins and you hear yourself saying, ‘someone’s gonna poke an eye out'." But apparently, it's rants like these that keep Carillo employed. In an interview to Deadspin, the former tennis player said, "That sort of nonsense got me a hosting gig on Torino's Olympic Ice show, which is still one of my all-time favourite scams. Don't know if it's still kicking around, but maybe my salute to Guido The Zamboni Guy is still out there from that wackadoodle show..." The segment on the Zamboni Guy is indeed still out there. In a hilarious interview, Carillo asks the Zamboni guy – the person in charge of running the Zamboni machine that smoothens the ice on skating rinks – "Guido, do you ever feel you are just going in circles?" Now, the question to ask is how Carillo will top these two segments at the 2016 Rio Olympics.
english
{"name":"babel-plugin-transform-es2015-sticky-regex","version":"6.24.1","directDependencies":3,"dependencies":22,"distinctDependencies":8,"description":"Compile ES2015 sticky regex to an ES5 RegExp constructor","tree":{"data":[{"id":0,"name":"babel-plugin-transform-es2015-sticky-regex","version":"6.24.1","count":22},{"id":1,"name":"babel-helper-regex","version":"6.26.0","count":11},{"id":2,"name":"babel-runtime","version":"6.26.0","count":2},{"id":3,"name":"core-js","version":"2.6.11","count":0},{"id":4,"name":"regenerator-runtime","version":"0.11.1","count":0},{"id":5,"name":"babel-types","version":"6.26.0","count":6},{"id":6,"name":"esutils","version":"2.0.3","count":0},{"id":7,"name":"lodash","version":"4.17.19","count":0},{"id":8,"name":"to-fast-properties","version":"1.0.3","count":0}],"tree":{"id":0,"dependencies":[{"id":1,"dependencies":[{"id":2,"dependencies":[{"id":3},{"id":4}]},{"id":5,"dependencies":[{"id":2,"dependencies":[{"id":3},{"id":4}]},{"id":6},{"id":7},{"id":8}]},{"id":7}]},{"id":5,"dependencies":[{"id":2,"dependencies":[{"id":3},{"id":4}]},{"id":6},{"id":7},{"id":8}]},{"id":2,"dependencies":[{"id":3},{"id":4}]}]}}}
json
package io.committed.invest.plugins.ui.livedev; import java.util.Collection; import java.util.Collections; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import io.committed.invest.core.auth.InvestRoles; import io.committed.invest.extensions.InvestUiExtension; /** * Extension which forwards any HTTP requests it receives to http://localhost:3001. * * <p>This means you can run a live reload version of a plugin and access it within the application * as it it is running natively. * * <p>Note that this has some limitations - for example the live development plugin can not expose * the actions / roles that the proxied plugin supports. * * <p>You will also see some errors in the console, depending on your development environment, * because the sandbox nature of the application plugin view can conflict with the requirements of * your development environment. Most of these errors can be ignored - if you plugin is displayed * and functioning! */ @Configuration @Import({LiveDevelopmentUIConfig.class}) public class LiveDevelopmentUIExtension implements InvestUiExtension { @Override public String getName() { return "Live Development"; } @Override public String getDescription() { return "Support live coding of a UI plugins with automatic reloading"; } @Override public String getIcon() { return "code"; } @Override public Collection<String> getRoles() { return Collections.singleton(InvestRoles.DEV); } @Override public String getStaticResourcePath() { // We have no static resource, and want to handle the endpoint ourselves return null; } }
java
Chinese government-linked hackers stole thousands of megabytes of data last year from ASEAN and member-states that may have contained strategic information on the South China Sea and talks with Washington, a cybersecurity firm and analysts said Thursday. Confirming the theft reported this week by Wired magazine, cybersecurity firm Digital Forensic Indonesia said these hackers stole 30,000 megabytes of data, including email correspondence, from the ASEAN Secretariat and contacts in member states in 2022. “The servers used by the ASEAN secretariat had many security gaps, so hackers managed to access it remotely and steal the data,” firm chief executive Ruby Alamsyah told BenarNews. The Microsoft Exchange email server stored emails from Association of Southeast Asian Nations (ASEAN) officials and contacts in each member country, Ruby said. The ASEAN Secretariat has not released information on the specific impact of the cyberattacks. ASEAN servers were not sufficiently secured, Ruby said, as he urged the regional bloc to work together to strengthen cyber defenses. American magazine Wired, citing a cybersecurity alert, reported this week that Chinese-linked hackers were able to break into mail servers operated by ASEAN in February 2022 and steal a trove of data. The attack came ahead of a summit between the United States and ASEAN in Phnom Penh and occurred at a time when ASEAN countries were trying to balance their relationships with China and the United States. “China will never encourage, support or connive at such attacks,” the embassy said in a statement. Economic ties between ASEAN countries and China have been increasing, while at the same time member countries have concerns about Beijing’s territorial claims to nearly all of the South China Sea. The two sides are to resume talks on a code of conduct for the waterway later this month in Indonesia. ASEAN member-states Brunei, Malaysia, the Philippines and Vietnam have their own territorial claims to portions of the waterway that overlap with China. The South China Sea is one of the world’s busiest for shipping and a source for oil, natural gas and minerals. While Indonesia does not regard itself as a party to the dispute, Beijing claims historic rights to parts of the sea overlapping its exclusive economic zone. “This kind of behavior is equivalent to China’s predatory economic practices and there is a lot of strategic information that Beijing finds attractive – from negotiations on the Code of Conduct in the South China Sea to discussions on strategic partnerships with Australia or the United States,” Marston told BenarNews. He predicted that in the short term, no ASEAN member-state would risk damaging its relationship with China. “But in the long term, it will undoubtedly add to the lack of strategic trust between ASEAN and China,” he said. Similarly, Dewi Fortuna Anwar, co-founder of the Foreign Policy Community Indonesia, said such actions were counterproductive and would fuel suspicion toward China. “It would be an unfriendly act toward ASEAN as a regional organization and its member states,” Dewi told BenarNews. Muhammad Thufaili, a researcher at the Artificial Intelligence and Cybersecurity Research Center in Indonesia, cited Southeast Asia’s growing prosperity as a reason it has become attractive to hackers. “ASEAN has become a target because the region is growing rapidly economically,” Thufaili said. China has been a big partner for Southeast Asian nations, owing to its geographic proximity, and therefore has been ASEAN’s largest trading partner for 12 consecutive years. China’s trade with ASEAN in 2020 trade reached nearly U. S. $517 billion, according to ASEAN data, while U. S-ASEAN trade stood at $362 billion. Washington is playing catch up, having launched the Indo-Pacific Economic Framework for Prosperity deal in May 2022. Initial partners included initial partners, including seven of 10 member-states of ASEAN. The Wired article suggested that Chinese-state linked cyber theft could be on the rise with the U. S. increasing its focus on Asia. Analyst Marston said that while ASEAN should form a united response to this cyber breach, it is “highly unlikely” to happen. “That said, individual ASEAN states should broadcast China's violation and appeal to international legal norms in order to name and shame such predatory behavior,” he said. Another cyber security analyst, though, injected a note of caution, saying China should not be blamed without solid evidence. “We should refrain from pointing out who is guilty of doing espionage,” said Fitriani, a security analyst at the Jakarta-based Centre for Strategic and International Studies, who uses one name. Fitriani suggested ASEAN strengthen cybersecurity measures through standardizing training, systems and encryption, updating security protocols regularly, raising awareness among users of sensitive information and enhancing capacity building across critical infrastructure sectors. Indonesia’s Thufaili said there was little cybersecurity cooperation at among ASEAN members. “Right now, cooperation appears to be at the level of policy coordination only and not at the level of CERTs (Computer Emergency Response Teams) that are fully operational,” he said. ASEAN launched a Cybersecurity Cooperation Strategy document in 2017 as a roadmap for regional cooperation to achieve a secure cyberspace. The document has been updated for the period 2021 to 2025 and focuses on strengthening governance and resilience as well as innovation. Murugason R. Thangaratnam, chief executive of Malaysian cybersecurity company Novem CS, said he hoped the latest document would focus on sharing ideas and stories. “Cross-border cooperation is key,” he told BenarNews. This article has been updated to add comments from the Chinese Embassy in Jakarta. Tria Dianti, Arie Firdaus and Nazarudin Latif in Jakarta and Iman Muttaqin Yusof in Kuala Lumpur contributed to this report.
english
A subscription to JoVE is required to view this content. You will only be able to see the first 2 minutes. The JoVE video player is compatible with HTML5 and Adobe Flash. Older browsers that do not support HTML5 and the H.264 video codec will still use a Flash-based video player. We recommend downloading the newest version of Flash here, but we support all versions 10 and above. If that doesn't help, please let us know. The present protocol describes the induction of autophagy in the Drosophila melanogaster larval fat body via nutrient depletion and analyzes changes in autophagy using transgenic fly strains. This protocol describes how to induce autophagy in the Drosophila melanogaster larval fat body via amino acid depletion and how to analyze the differences in autophagy among mutant clones. As autophagy is highly sensitive to nutrition availability in culture conditions, clonal analysis, a method that analyzes mutant cells versus wild type cells in the same tissue, has an advantage in dissecting autophagy defects. Begin by introducing three males and 15 female adult flies into a culture vial with standard cornmeal or molasses or agar Drosophila media at 25 degrees Celsius for mating. At 48 hours post-induction, tap the mating vial until the flies are stunned and drop down onto the media at the base of the vial. Unplug the mating vial and cover its mouth with an unplugged inverted culture vial with fresh media. Then flip and tap the vials to transfer the flies to the fresh culture vial. Plug the fresh culture vial and discard the old vial. Place the fresh culture vial in a 25 degree Celsius incubator for egg laying on the fresh media. Remove the flies after six hours of egg laying and discard the flies by dumping them into a flask containing 75%ethanol. Incubate the vial with embryos in a 37 degree Celsius water bath for one hour to induce flippase expression. Subsequently, place them in a 25 degree Celsius incubator and allow the embryos to continue to develop. Using a laboratory spatula, scoop out the media containing the developing larvae into a Petri dish 75 hours post egg laying. Add 1X PBS to the dish and gently separate out the culture media and the larvae using long forceps. Then select 10 to 15 early third instar larvae. Fill the wells of a nine-well glass depression spot plate with 1X PBS and place the separated third instar larvae in the wells using long forceps. Wash the larvae thoroughly to remove all the media residues. Take five milliliters of 20%sucrose solution in an empty vial and place the clean third instar larvae in this solution using long forceps. Incubate this vial in a 25 degree Celsius incubator for six hours before harvesting them for dissection. Add 1X PBS into each well of the nine-well glass depression spot plate and transfer the larvae into the wells with long forceps. Place one larvae in a well with the dorsal side facing up. Grip the cuticle of the larva with two 5 forceps in the middle of the larval trunk and gently tear open the cuticles. The exposed fat bodies, along with other larval internal tissues, will still be attached to the carcass of the larva. Pull enough to expose the internal organs as much as possible. Repeat this step for all the larvae. Transfer the larval carcass into a 1.5 milliliter microcentrifuge tube containing 500 microliters of 4%PFA and incubate for 30 minutes at 25 degrees Celsius without shaking the tubes. After 30 minutes, pipette out the PFA solution. Add 500 microliters of 1X PBS into the tube. Gently shake the tube on a flat rotator for 10 minutes and then discard the 1X PBS solution. Repeat this three times. Using long forceps, transfer the fixed and washed larval carcass to a well in the nine depression spot plate filled with 1X PBS. Remove all the non-fat body tissues with 5 forceps. Finally, mount the pieces of the fat body on a microscope slide using 80%glycerol as the mounting medium and lay a coverslip on top. Mutant one and mutant two are two independent lethal mutants on the X chromosome and isogenized yellow white FRT 19A flies serve as a control here. GFP-Atg8a patterns were analyzed in the control, mutant one, or mutant two mosaic larval fat bodies, and the mutant clones or control clones were negatively marked by RFP. In the control clones, the patterns of GFP-Atg8a Puncta were similar to those in the surrounding RFP positive cells. In mutant one mutant clones, the GFP-Atg8a Puncta were greatly reduced. And in mutant two mutant clones, the numbers and size of GFP-Atg8a Puncta were increased. The larvae developmental stage is critical here. The time for development and the duration of starvation need to be modified according to each lab's culture medium recipes. This procedure can be applied to explore selective autophagy. For example, mitophagy can be monitored in fly fat bodies by attaching a fluorescent protein to a mitochondrial targeting sequence.
english
Former US Secretary of State Mike Pompeo in a speech Friday on a non-official visit to Taiwan called for the US to give diplomatic recognition to the self-ruled island China claims as its own territory. During Pompeo's tenure in the Trump administration, the US stepped up official exchanges with Taiwan in moves that were strongly opposed by China, but he did not publicly advocate for formal diplomatic recognition of Taiwan while in office. The US is Taiwan's largest unofficial ally but ended formal recognition when it established diplomatic relations with mainland China's Communist government in 1979. It's my view the US government should immediately and take necessary and long overdue steps to do the right and obvious thing, that is to offer the Republic of China Taiwan America' diplomatic recognition as a free and sovereign country, Pompeo said while speaking at the invitation of the Prospect Foundation in Taipei, a private think tank based in Taiwan. It's the reality. It's the fact. . . there's no need for Taiwan to declare independence because it's already an independent nation, he added. Pompeo also framed the Russian war in Ukraine as a battle of democracies and autocracies, praising Taiwan for being on the front lines of this fight between freedom and tyranny. Pakistan signs trade deal with Russia amid war--how will the IMF react? Pompeo is speculated to be among several Republicans who may seek the party's presidential nomination in 2024. Taiwan, formally known as the Republic of China (Taiwan), is where the former ruling government of mainland China, led by the Nationalist Party, fled to after losing a civil war with the Communist Party in 1949. (Only the headline and picture of this report may have been reworked by the Business Standard staff; the rest of the content is auto-generated from a syndicated feed. )
english
Vadodara (The Hawk): In the early hours of Tuesday, a bus collided with a container truck on the Ahmedabad-Mumbai National Highway in Gujarat's Vadodara, resulting in at least six fatalities and 13 injuries. The injured were taken urgently to a city hospital run by the government. The passenger bus travelling to Mumbai collided with a container truck at 4 a. m. , according to Assistant Commissioner of Police G D Palsana. According to the ACP, two people died from their injuries at a government hospital while two more died on the scene. An eyewitness said that the accident happened as the driver of a bus attempted to pass a container truck carrying wheat while the latter was also using the brakes. The cargo truck's driver left the site of the collision. Police are looking for the driver of the container truck. (Inputs from Agencies)
english
{% extends 'base/front_base.html' %} {% load time_filters %} {% block title %} Peekpa {% endblock %} {% block content %} <div class="container mt-4 mb-4"> <div class="row"> <div class="col-md-8"> {% if top_post %} {% if top_post.0 %} <!-- 大焦点图 --> <div class="row mb-2" style="height: 230px;background-color: white"> <div class="col-md-7 p-0 h-100"> <a href="{% url 'post:detail' time_id=top_post.0.time_id%}" class="w-100 h-100"> <img src="{{ top_post.0.thumbnail }}" class="w-100 h-100"> </a> </div> <div class="col-md-5"> <p class="h5 mt-3 border-bottom mb-0 pb-2"><a href="{% url 'post:detail' time_id=top_post.0.time_id%}" class="text-decoration-none text-dark" style="">{{ top_post.0.title }}</a> </p> <div class="d-flex flex-row justify-content-between mt-2"> <p class="font-weight-light small pl-1 ">{{ top_post.0.author.username }}</p> <p class="font-weight-light small pr-1">{{ top_post.0.publish_time | data_format_y_m_d }}</p> </div> <p class="small" style="font-size: 95%;">{{ top_post.0.description }}</p> </div> </div> {% endif %} <!-- 三小图 --> <div class="row mb-3" style="height: 130px;"> {% if top_post.1 %} <!-- 三小图(左) --> <div class="col-sm-4 pl-0 pr-1 position-relative h-100"> <a href="{% url 'post:detail' time_id=top_post.1.time_id%}" class="w-100 h-100"> <img src="{{ top_post.1.thumbnail }}" class="w-100 h-100"> <div class="position-absolute mr-1" style="bottom:0;background-color: rgba(58,58,58,0.9)"> <p class="small m-1 text-light"> {{ top_post.1.title }} </p> </div> </a> </div> {% endif %} {% if top_post.2 %} <!-- 三小图(中) --> <div class="col-sm-4 pl-1 pr-1 position-relative h-100"> <a href="{% url 'post:detail' time_id=top_post.2.time_id%}" class="w-100 h-100"> <img src="{{ top_post.2.thumbnail }}" class="w-100 h-100"> <div class="position-absolute mr-1" style="bottom:0;background-color: rgba(58,58,58,0.9)"> <p class="small m-1 text-light"> {{ top_post.2.title }} </p> </div> </a> </div> {% endif %} {% if top_post.3 %} <!-- 三小图(右) --> <div class="col-sm-4 pl-1 pr-0 position-relative h-100"> <a href="{% url 'post:detail' time_id=top_post.3.time_id%}" class="w-100 h-100"> <img src="{{ top_post.3.thumbnail }}" class="w-100 h-100"> <div class="position-absolute" style="bottom:0;background-color: rgba(58,58,58,0.9)"> <p class="small m-1 text-light"> {{ top_post.3.title }} </p> </div> </a> </div> {% endif %} </div> {% endif %} <!-- 左侧文章列表 --> <div class="row"> <ul class="col-sm-12 d-block"> {% for post in list_post %} <!-- 文章 --> <li class="row mb-3" style="height: 180px;background-color: white"> <div class="col-sm-4 p-3 h-100"> <a href="{% url 'post:detail' time_id=post.time_id %}" class="w-100 h-100"> <img src="{{ post.thumbnail }}" class="w-100 h-100"> <div class="position-absolute mt-3" style="top:0;background-color: rgba(32,120,255,0.9)"> <p class="small m-1 text-light">{{ post.category.name }}</p> </div> </a> </div> <div class="col-sm-8 d-flex flex-column"> <p class="h5 mt-3 border-bottom mb-0 pb-2"> <a href="{% url 'post:detail' time_id=post.time_id %}" class="text-decoration-none text-dark">{{ post.title }} </a> </p> <p class="small mt-2" style="font-size: 95%;">{{ post.description }}</p> <div class="d-flex flex-row justify-content-between mt-auto"> <p class="font-weight-light small pl-1 mb-3">{{ post.author.username }}</p> <p class="font-weight-light small pr-1 mb-3">阅读({{ post.read_num }})</p> <p class="font-weight-light small pr-1 mb-3">{{ post.publish_time | data_format_y_m_d }}</p> </div> </div> </li> {% endfor %} </ul> </div> </div> {% include 'post/right_section.html' %} </div> </div> {% endblock %}
html
package storage import ( "fmt" "net/url" "strconv" "time" "github.com/google/uuid" ) type WeatherQuery struct { Start time.Time End time.Time SensorIds []uuid.UUID MaxDataPoints int Values map[SensorValueType]bool } //NewWeatherQuery creates a new empty WeatherQuery func NewWeatherQuery() *WeatherQuery { query := new(WeatherQuery) query.MaxDataPoints = -1 query.Values = make(map[SensorValueType]bool) return query } func (query *WeatherQuery) Init() { query.Start = time.Now().Add(-1 * time.Hour * 24 * 14) query.End = time.Now() query.SensorIds = make([]uuid.UUID, 0) for _, sensorValueType := range GetSensorValueTypes() { query.Values[sensorValueType] = true } } func ParseWeatherQuery(query url.Values) (*WeatherQuery, error) { result := NewWeatherQuery() result.Init() start := query.Get("start") end := query.Get("end") max := query.Get("maxDataPoints") if len(start) != 0 { if tval, err := time.Parse(time.RFC3339, start); err == nil { result.Start = tval } else if err != nil { fmt.Println(err) return nil, err } } if len(end) != 0 { if tval, err := time.Parse(time.RFC3339, end); err == nil { result.End = tval } else if err != nil { fmt.Println(err) return nil, err } } if len(max) != 0 { if tval, err := strconv.Atoi(max); err == nil { result.MaxDataPoints = tval } else if err != nil { fmt.Println(err) return nil, err } } for k, v := range query { if k == "start" || k == "end" { continue } if bval, err := strconv.ParseBool(v[0]); err == nil { result.Values[SensorValueType(k)] = bval } } return result, nil }
go
Telugu film industry is the first to recover from the corona crisis and it is also the first industry to score a blockbuster with restrictions still in place. Krack is all set to make handsome profits at the box office while the Telugu version of Master also is able to pocket decent profits. Ram’s Red also opened on a decent note despite mixed reports. Film business is definitely back on track with many producers looking to release their pending films shortly. Things look very bright for low budget and medium budget movies in spite of the restrictions. However, producers can’t release big budget movies until the Government gives permission to run theaters to their full capacity. Producers and trade circles are hoping that the restrictions will be totally lifted by April so that the big budget films like Vakeel Saab can come out without any fear. The business in overseas markets also should get back to normal as a large chunk of the returns for big ticket movies come from there.
english
<reponame>p-g-krish/science-journal /* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.android.apps.forscience.whistlepunk.analytics; import androidx.annotation.VisibleForTesting; import com.google.android.apps.forscience.whistlepunk.filemetadata.Label; import com.google.android.apps.forscience.whistlepunk.metadata.GoosciLabel; import com.google.common.base.Throwables; /** Constants for usage tracking. */ public final class TrackerConstants { // Screen names. // public static final String SCREEN_INTRO = "intro"; // public static final String SCREEN_INTRO_REPLAY = "intro_replay"; // public static final String SCREEN_OBSERVE_RECORD = "observe_record"; public static final String SCREEN_EXPERIMENT_LIST = "experiment_list"; // public static final String SCREEN_NEW_EXPERIMENT = "experiment_new"; public static final String SCREEN_UPDATE_EXPERIMENT = "experiment_update"; public static final String SCREEN_EXPERIMENT_DETAIL = "experiment_detail"; public static final String SCREEN_RUN_REVIEW = "run_review"; public static final String SCREEN_SETTINGS = "settings"; public static final String SCREEN_ABOUT = "about"; public static final String SCREEN_DEVICE_MANAGER = "device_manager"; public static final String SCREEN_DEVICE_OPTIONS = "device_options"; public static final String SCREEN_UPDATE_RUN = "run_update"; public static final String SCREEN_TRIGGER_LIST = "trigger_list"; public static final String SCREEN_TRIGGER_EDIT = "trigger_edit"; public static final String SCREEN_SENSOR_INFO = "sensor_info"; public static final String SCREEN_PANES = "panes"; public static final String SCREEN_EXPERIMENT = "experiment"; // Custom dimension indices. public static final int DIMENSION_MODE = 1; public static final int RELEASE_TYPE = 2; public static final int PANES_TOOL_NAME = 3; public static final int PANES_DRAWER_STATE = 4; // Categories public static final String CATEGORY_EXPERIMENTS = "Experiments"; public static final String CATEGORY_RUNS = "Runs"; public static final String CATEGORY_NOTES = "Notes"; public static final String CATEGORY_APP = "App"; public static final String CATEGORY_TRIGGERS = "Triggers"; public static final String CATEGORY_API = "API"; public static final String CATEGORY_INFO = "Info"; public static final String CATEGORY_SENSOR_MANAGEMENT = "ManageSensors"; public static final String CATEGORY_STORAGE = "Storage"; public static final String CATEGORY_PANES = "Panes"; public static final String CATEGORY_EXPERIMENT = "Experiment"; public static final String CATEGORY_SIGN_IN = "SignIn"; public static final String CATEGORY_CLAIMING_DATA = "ClaimingData"; public static final String CATEGORY_SYNC = "Sync"; public static final String CATEGORY_FAILURE = "Failure"; // Event actions public static final String ACTION_CREATE = "Create"; public static final String ACTION_RECORDED = "Recorded"; public static final String ACTION_EDITED = "EditedValue"; public static final String ACTION_ARCHIVE = "Archived"; public static final String ACTION_UNARCHIVE = "Unarchived"; public static final String ACTION_DELETED = "Deleted"; public static final String ACTION_DELETE_UNDO = "UndoDelete"; public static final String ACTION_SET_MODE = "SetMode"; public static final String ACTION_START_AUDIO_PLAYBACK = "StartAudioPlayback"; public static final String ACTION_TRY_RECORDING_FROM_TRIGGER = "TryRecordingFromTrigger"; public static final String ACTION_TRY_STOP_RECORDING_FROM_TRIGGER = "TryStopRecordingFromTrigger"; public static final String ACTION_API_SCAN_TIMEOUT = "ApiScanTimeout"; public static final String ACTION_INFO = "Info"; public static final String ACTION_SCAN = "Scan"; public static final String ACTION_CROP_COMPLETED = "CropCompleted"; public static final String ACTION_CROP_STARTED = "CropStarted"; public static final String ACTION_CROP_FAILED = "CropFailed"; public static final String ACTION_WRITE_FAILED = "WriteFailed"; public static final String ACTION_READ_FAILED = "ReadFailed"; public static final String ACTION_PAUSED = "Paused"; public static final String ACTION_LABEL_ADDED = "LabelAdded"; public static final String ACTION_SHARED = "Shared"; public static final String ACTION_IMPORTED = "Imported"; public static final String ACTION_DOWNLOAD_REQUESTED = "DownloadRequested"; public static final String ACTION_CLAIM_FAILED = "ClaimFailed"; public static final String ACTION_RECOVERY_FAILED = "RecoveryFailed"; public static final String ACTION_RECOVER_EXPERIMENT_ATTEMPTED = "RecoverExperimentAttempted"; public static final String ACTION_RECOVER_EXPERIMENT_SUCCEEDED = "RecoverExperimentSucceeded"; public static final String ACTION_RECOVER_EXPERIMENT_FAILED = "RecoverExperimentFailed"; public static final String ACTION_START_SIGN_IN = "StartSignIn"; public static final String ACTION_START_SWITCH_ACCOUNT = "StartSwitchAccount"; public static final String ACTION_SIGN_IN_FROM_WELCOME = "SignInFromWelcome"; public static final String ACTION_SIGN_IN_FROM_SIDEBAR = "SignInFromSidebar"; public static final String ACTION_LEARN_MORE = "LearnMore"; public static final String ACTION_CONTINUE_WITHOUT_ACCOUNT_FROM_WELCOME = "ContinueWithoutAccount"; public static final String ACTION_CONTINUE_WITHOUT_ACCOUNT_FROM_SIDEBAR = "ContinueWithoutAccountSidebar"; public static final String ACTION_ACCOUNT_CHANGED = "AccountChanged"; public static final String ACTION_ACCOUNT_SIGNED_IN = "AccountSignedIn"; public static final String ACTION_FAILED = "Failed"; // Android only. public static final String ACTION_SWITCH_FAILED = "SwitchFailed"; // iOS only. public static final String ACTION_NO_CHANGE = "NoChange"; // iOS only. public static final String ACTION_REMOVED_ACCOUNT = "RemovedAccount"; public static final String ACTION_ERROR = "Error"; public static final String ACTION_ACCOUNT_TYPE = "AccountType"; public static final String ACTION_PERMISSION_DENIED = "PermissionDenied"; public static final String ACTION_SYNC_EXISTING_ACCOUNT = "SyncExistingAccount"; public static final String ACTION_SYNC_FAILED = "SyncFailed"; public static final String ACTION_SYNC_FAILED_USER_RATE_LIMIT_EXCEEDED = "SyncFailedUserRateLimitExceeded"; public static final String ACTION_IS_ACCOUNT_PERMITTED = "IsAccountPermitted"; // Android only. public static final String ACTION_CLAIM_ALL = "ClaimAll"; public static final String ACTION_DELETE_ALL = "DeleteAll"; public static final String ACTION_SELECT_LATER = "SelectLater"; public static final String ACTION_CLAIM_SINGLE = "ClaimSingle"; public static final String ACTION_DELETE_SINGLE = "DeleteSingle"; public static final String ACTION_SHARE = "Share"; public static final String ACTION_VIEW_EXPERIMENT = "ViewExperiment"; public static final String ACTION_VIEW_TRIAL = "ViewTrial"; public static final String ACTION_VIEW_TRIAL_NOTE = "ViewTrialNote"; // iOS only. public static final String ACTION_VIEW_NOTE = "ViewNote"; // iOS only. public static final String ACTION_REMOVE_COVER_IMAGE_FOR_EXPERIMENT = "RemoveCoverImageForExperiment"; public static final String ACTION_DELETE_TRIAL = "DeleteTrial"; public static final String ACTION_DELETE_TRIAL_NOTE = "DeleteTrialNote"; public static final String ACTION_DELETE_NOTE = "DeleteNote"; public static final String ACTION_SYNC_EXPERIMENT_FROM_DRIVE = "SyncExperimentFromDrive"; public static final String ACTION_MANUAL_SYNC_STARTED = "ManualSyncStarted"; public static final String ACTION_PERMISSION_REQUEST_FAILED = "PermissionRequestFailed"; public static final String ACTION_MISSING_REMOTE_FILE_ID = "MissingRemoteFileId"; public static final String ACTION_EXPORT_TRIAL = "ExportTrial"; public static final String ACTION_EXPORT_EXPERIMENT = "ExportExperiment"; public static final String ACTION_IMPORT_EXPERIMENT = "ImportExperiment"; public static final String ACTION_CLEAN_OLD_EXPORT_FILES = "CleanOldExportFiles"; public static final String ACTION_SYNC_EXPERIMENT_LIBRARY_FILE = "SyncExperimentLibraryFile"; public static final String ACTION_SYNC_EXPERIMENT_PROTO_FILE = "SyncExperimentProtoFile"; // Labels public static final String LABEL_RECORD = "record"; public static final String LABEL_RUN_REVIEW = "run_review"; public static final String LABEL_OBSERVE = "observe"; public static final String LABEL_EXPERIMENT_DETAIL = "experiment_detail"; public static final String LABEL_EXPERIMENT_LIST = "experiment_list"; public static final String LABEL_UPDATE_EXPERIMENT = "update_experiment"; public static final String LABEL_MODE_SIGNED_IN = "signedin"; public static final String LABEL_MODE_SIGNED_OUT = "signedout"; public static final String LABEL_PICTURE_DETAIL = "picture_detail"; public static final String LABEL_USER_RECOVERABLE_AUTH_EXCEPTION = "UserRecoverableAuthException"; public static final String LABEL_ACCOUNT_TYPE_OTHER = "Other"; public static final String LABEL_ACCOUNT_TYPE_GMAIL = "Gmail"; public static final String LABEL_ACCOUNT_TYPE_GSUITE = "GSuite"; public static final String LABEL_ACCOUNT_TYPE_GOOGLE_CORP = "GoogleCorp"; public static final String LABEL_ACCOUNT_TYPE_UNKNOWN = "Unknown"; public static final String LABEL_PERMISSION_RESPONSE_RECEIVED_PERMITTED = "PermissionResponseReceived_Permitted"; public static final String LABEL_PERMISSION_RESPONSE_RECEIVED_NOT_PERMITTED = "PermissionResponseReceived_NotPermitted"; public static final String LABEL_PERMISSION_REQUEST_FAILED = "PermissionRequestFailed"; public static final String LABEL_CACHED_PERMISSION_PERMITTED = "CachedPermission_Permitted"; public static final String LABEL_CACHED_PERMISSION_NOT_PERMITTED = "CachedPermission_NotPermitted"; // Values private static final long VALUE_TYPE_TEXT = 0; private static final long VALUE_TYPE_PICTURE = 1; private static final long VALUE_TYPE_SENSOR_TRIGGER = 2; private static final long VALUE_TYPE_SNAPSHOT = 3; public static final long VALUE_ACCOUNT_TYPE_OTHER = 0; public static final long VALUE_ACCOUNT_TYPE_GMAIL = 1; public static final long VALUE_ACCOUNT_TYPE_GSUITE = 2; public static final long VALUE_ACCOUNT_TYPE_GOOGLE_CORP = 3; public static final long VALUE_ACCOUNT_TYPE_UNKNOWN = 4; // Primes Event Names public static final String PRIMES_OBSERVE = "OBSERVE"; public static final String PRIMES_EXPERIMENT_LOADED = "EXPERIMENT_LOADED"; public static final String PRIMES_EXPERIMENT_LIST_LOADED = "EXPERIMENT_LIST_LOADED"; public static final String PRIMES_RUN_LOADED = "RUN_LOADED"; public static final String PRIMES_DEFAULT_EXPERIMENT_CREATED = "DEFAULT_EXPERIMENT_CREATED"; // For Google analytics, the maximum length for a field value is 8192. However, the maximum // length for the whole payload is also 8192 and hits with larger payloads are discarded! // Here we limit a label created from an exception stack trace to 512, with the hope that the // whole payload will not exceed the payload limit. @VisibleForTesting public static final int MAX_LABEL_LENGTH = 512; private TrackerConstants() {} /** Gets the logging type for a label. */ // TODO: Add tracking for snapshot labels. public static long getLabelValueType(Label label) { if (label.getType() == GoosciLabel.Label.ValueType.PICTURE) { return TrackerConstants.VALUE_TYPE_PICTURE; } else if (label.getType() == GoosciLabel.Label.ValueType.TEXT) { return TrackerConstants.VALUE_TYPE_TEXT; } else if (label.getType() == GoosciLabel.Label.ValueType.SENSOR_TRIGGER) { return TrackerConstants.VALUE_TYPE_SENSOR_TRIGGER; } else if (label.getType() == GoosciLabel.Label.ValueType.SNAPSHOT) { return TrackerConstants.VALUE_TYPE_SNAPSHOT; } else { throw new IllegalArgumentException("Label type is not supported for logging."); } } public static String createLabelFromStackTrace(Throwable t) { String s = Throwables.getStackTraceAsString(t); s = s.replace("\n\t", " "); if (s.length() > MAX_LABEL_LENGTH) { s = s.substring(0, MAX_LABEL_LENGTH); } return s; } }
java
import PixiPlot from './PixiPlot'; export { PixiPlot }; export default PixiPlot; import SVGContainer from './components/pixi/SVGContainer'; export { SVGContainer }; import { HoverEvent, SelectEvent } from './types'; export { HoverEvent, SelectEvent }; import DraggableContainer from './components/pixi/DraggableContainer'; export { DraggableContainer }; import ZoomableContainer from './components/pixi/ZoomableContainer'; export { ZoomableContainer }; import RescalingSprite from './components/pixi/RescalingSprite'; export { RescalingSprite }; import SelectionContainer from './components/pixi/SelectionContainer'; export { SelectionContainer };
typescript
/****************************************************************************** * HMDQ Tools - tools for VR headsets and other hardware introspection * * https://github.com/risa2000/hmdq * * * * Copyright (c) 2019, <NAME>. All rights reserved. * * * * This source code is licensed under the BSD 3-Clause "New" or "Revised" * * License found in the LICENSE file in the root directory of this project. * * SPDX-License-Identifier: BSD-3-Clause * ******************************************************************************/ #include <iomanip> #include <string> #include <fmt/chrono.h> #include <fmt/format.h> #include "calcview.h" #include "jkeys.h" #include "misc.h" #include "verhlp.h" #include "json_proxy.h" // locals //------------------------------------------------------------------------------ // miscellanous section keys static constexpr auto MM_IN_METER = 1000; // fix identifications //------------------------------------------------------------------------------ static constexpr const char* PROG_VER_DATETIME_FORMAT_FIX = "0.3.1"; static constexpr const char* PROG_VER_OPENVR_SECTION_FIX = "1.0.0"; static constexpr const char* PROG_VER_IPD_FIX = "1.2.3"; static constexpr const char* PROG_VER_FOV_FIX = "1.2.4"; static constexpr const char* PROG_VER_OPENVR_LOCALIZED = "1.3.4"; static constexpr const char* PROG_VER_TRIS_OPT_TO_FACES_RAW = "1.3.91"; static constexpr const char* PROG_VER_NEW_FOV_ALGO = "2.1.0"; // functions //------------------------------------------------------------------------------ // Return 'hmdv_ver' if it is defined in JSON data, otherwise return 'hmdq_ver'. std::string get_hmdx_ver(const json& jd) { const auto misc = jd[j_misc]; std::string hmdx_ver; if (misc.contains(j_hmdv_ver)) { hmdx_ver = misc[j_hmdv_ver].get<std::string>(); } else { hmdx_ver = misc[j_hmdq_ver].get<std::string>(); } return hmdx_ver; } // Fix datetime format in misc.time field (ver < v0.3.1) void fix_datetime_format(json& jd) { std::istringstream stime; std::tm tm = {}; // get the old format with 'T' in the middle stime.str(jd[j_misc][j_time].get<std::string>()); stime >> std::get_time(&tm, "%Y-%m-%dT%H:%M:%S"); // put the new format without 'T' jd[j_misc][j_time] = fmt::format("{:%F %T}", tm); } // Fix for moved OpenVR things from 'misc' to 'openvr' void fix_misc_to_openvr(json& jd) { json jopenvr; if (jd[j_misc].contains("openvr_ver")) { jopenvr[j_rt_ver] = jd[j_misc]["openvr_ver"]; jd[j_misc].erase("openvr_ver"); } else { jopenvr[j_rt_ver] = "n/a"; } jopenvr[j_rt_path] = "n/a"; jd[j_openvr] = jopenvr; } void fix_ipd_unit(json& jd) { // the old IPD is in milimeters, transform it to meters const auto ipd = jd[j_geometry][j_view_geom][j_ipd].get<double>() / MM_IN_METER; jd[j_geometry][j_view_geom][j_ipd] = ipd; } // Fix for vertical FOV calculation in (ver < v1.2.4) void fix_fov_calc(json& jd) { const auto fov_tot = calc_total_fov(jd[j_geometry][j_fov_head]); jd[j_geometry][j_fov_tot] = fov_tot; } // move openvr data into openvr section (ver < v1.3.4) void fix_openvr_section(json& jd) { jd[j_openvr][j_devices] = jd[j_devices]; jd[j_openvr][j_properties] = jd[j_properties]; jd[j_openvr][j_geometry] = jd[j_geometry]; jd.erase(j_devices); jd.erase(j_properties); jd.erase(j_geometry); } // change (temporarily introduced) 'tris_opt' key to 'faces_raw' and make 'verts_opt' // without 'verts_raw' 'verts_raw' again void fix_tris_opt(json& jd) { std::vector<json*> geoms; if (jd.contains(j_openvr)) { json& jd_openvr = jd[j_openvr]; if (jd_openvr.contains(j_geometry)) { geoms.push_back(&jd_openvr[j_geometry]); } } if (jd.contains(j_oculus)) { json& jd_oculus = jd[j_oculus]; if (jd_oculus.contains(j_geometry)) { for (const auto& fov_id : {j_default_fov, j_max_fov}) { if (jd_oculus[j_geometry].contains(fov_id)) { geoms.push_back(&jd_oculus[j_geometry][fov_id]); } } } } for (json* g : geoms) { if ((*g).contains(j_ham_mesh)) { for (const auto& neye : {j_leye, j_reye}) { if ((*g)[j_ham_mesh].contains(neye) && !(*g)[j_ham_mesh][neye].is_null()) { json& hm_eye = (*g)[j_ham_mesh][neye]; if (hm_eye.contains(j_tris_opt)) { hm_eye[j_faces_raw] = std::move(hm_eye[j_tris_opt]); hm_eye.erase(j_tris_opt); } if (hm_eye.contains(j_verts_opt) && !hm_eye.contains(j_verts_raw)) { hm_eye[j_verts_raw] = std::move(hm_eye[j_verts_opt]); hm_eye.erase(j_verts_opt); } } } } } } // recalculate FOV points with the new algorithm which works fine with total FOV > 180 // deg. void fix_fov_algo(json& jd) { if (jd.contains(j_openvr)) { json& jd_openvr = jd[j_openvr]; if (jd_openvr.contains(j_geometry)) { jd_openvr[j_geometry] = calc_geometry(jd_openvr[j_geometry]); } } if (jd.contains(j_oculus)) { json& jd_oculus = jd[j_oculus]; if (jd_oculus.contains(j_geometry)) { for (const auto& fov_id : {j_default_fov, j_max_fov}) { if (jd_oculus[j_geometry].contains(fov_id)) { jd_oculus[j_geometry][fov_id] = calc_geometry(jd_oculus[j_geometry][fov_id]); } } } } } // Check and run all fixes (return true if there was any) bool apply_all_relevant_fixes(json& jd) { const auto hmdx_ver = get_hmdx_ver(jd); bool fixed = false; // datetime format fix - remove 'T' in the middle if (comp_ver(hmdx_ver, PROG_VER_DATETIME_FORMAT_FIX) < 0) { fix_datetime_format(jd); fixed = true; } // moved OpenVR things from 'misc' to 'openvr' if (comp_ver(hmdx_ver, PROG_VER_OPENVR_SECTION_FIX) < 0) { fix_misc_to_openvr(jd); fixed = true; } // change IPD unit in the JSON file - mm -> meters if (comp_ver(hmdx_ver, PROG_VER_IPD_FIX) < 0) { fix_ipd_unit(jd); fixed = true; } // change the vertical FOV calculation formula if (comp_ver(hmdx_ver, PROG_VER_FOV_FIX) < 0) { fix_fov_calc(jd); fixed = true; } // move all OpenVR data into 'openvr' section if (comp_ver(hmdx_ver, PROG_VER_OPENVR_LOCALIZED) < 0) { fix_openvr_section(jd); fixed = true; } // change (temporarily introduced) 'tris_opt' key to 'faces_raw' and make 'verts_opt' // without 'verts_raw' 'verts_raw' again if (comp_ver(hmdx_ver, PROG_VER_TRIS_OPT_TO_FACES_RAW) < 0) { fix_tris_opt(jd); fixed = true; } // recalculate FOV points with the new algorithm which works fine with total FOV > // 180 deg. if (comp_ver(hmdx_ver, PROG_VER_NEW_FOV_ALGO) < 0) { fix_fov_algo(jd); fixed = true; } // add 'hmdv_ver' into misc, if some change was made if (fixed) { jd[j_misc][j_hmdv_ver] = PROG_VERSION; } return fixed; }
cpp
Bigg Boss 13: Shefali Claims Asim Was Hitting On Her But Moved To Himanshi Khurana After She Said 'I'm Married' The controversial reality show Bigg Boss 13 will soon come to an end after a few weeks. The fight to reach the finale is intense, more now, than ever before. There are still eight remaining housemates, after Shefali Jariwala’s eviction recently. Shefali, who earlier on the show, shared a good rapport with Asim Riaz inside the house, later was seen at loggerheads with him, especially after Himanshi Khurana’s eviction. Now, after her eviction, she revealed in a recent interview that Asim Riaz was hitting on her initially, However, she clarified to him later that she is married and not interested, which is when he shifted his focus to Himanshi Khurana. Meanwhile, Himanshi Khurana is all set to enter Bigg Boss 13 and in tonight’s episode, we will also see Asim Riaz go down on one knee and propose marriage to her. Their reunion is much awaited and we can’t wait to watch it!
english
Finding out she was pregnant with the Savior of the world wasn’t the easiest news to swallow and the aftermath took some faith. But Mary, the young girl chosen to carry the baby Jesus, would exemplify great praise. While visiting with Elizabeth, who was carrying John the Baptist at the same time Mary was pregnant with Jesus, the young girl had a moment of exclamation. It’s called the Magnificat and it’s found in Luke 1. Mary’s heart was full of praise and it poured out into the world. A young girl filled with immense thanks knew exactly where her praise was to be directed. Do you know where to direct your praise today? What are you carrying that at first might have made you a bit fearful, but you can now be thankful for?
english
As many as 75 persons died due to Covid-19 in Goa on Tuesday, May 11, making it the highest single-day death toll for the state in the pandemic so far. The total death toll caused due to the pandemic now stands at 1,805. The state also recorded as many as 3,124 Covid positive cases on the same day (May 11), taking its total active cases to 32,836. The positivity rate in the state till a few days ago, was hovering around the 50 per cent mark (every second person was testing positive), the highest in the country. For the smallest state in India, with a population of just 1. 5 million people, these are very scary statistics indeed. Why does Goa find itself in this situation? Gross negligence and mismanagement of the Covid crisis by the state government. The BJP chief minister, Dr Pramod Sawant, the late Parrikar’s blue-eyed-boy, despite being a trained Ayurveda doctor, has displayed extremely poor leadership qualities in the face of the crisis. To make matters worse, both he and the state health minister, Vishwajit Rane, have never been on the same page ever since this pandemic began. They have held contrary views and opinions and have worked at cross purposes, sadly at the cost of human lives. Sample the latest. Rane made a striking statement to the local media on Tuesday (May 11) that 26 Covid patients had died in the state’s premier medical institution, Goa Medical College (GMC), due to oxygen supply problems. Instead of rolling up his sleeves and solving the problem, which is his ministry’s biggest challenge, Rane has chosen to take three steps backwards and instead has sheepishly asked the Bombay High Court (Goa bench) to conduct a probe into the matter of poor oxygen supplies at the GMC. The chief minister on the other hand, in response to the poor oxygen supply situation at GMC simply accused the hospital administration of “mismanagement”, refusing to acknowledge the repeated pleas of the GMC administration of inadequate oxygen supply. To make matters worse, Sawant has directed his ire at the lone company entrusted with the task of supplying oxygen to all state government medical facilities, blaming them for poor support. With the two worthies mentioned above having maximum executive powers to turn things around, but shrugging their basic responsibilities, the common man in Goa, whether in towns or villages, is at his/her wit’s end. However, this mismanagement of the Covid crisis in Goa began several months ago. Unknown to many, the Goa government’s financial status is at best precarious. Local media reports have consistently pegged the state’s current debt at a staggering ₹20,000 crore. Not surprisingly, Sawant opened up the tourism gates in October 2020. The big blunder, however, was that he did not insist on Covid negative certificates from visiting tourists. People in other parts of India welcomed this opportunity to let their hair down, and came in droves. The photographs of tourists cramming the north Goa beaches in the last week of December 2020, was akin to a mini-Kumbh Mela. Cheek by jowl and unmasked, tourists made merry on the beaches with zero policing by the state government. When the local media repeatedly badgered the chief minister for his continuing reluctance to insist on Covid-negative certificates from tourists, he would simply repeat his favourite line in Konkani, ad-nauseam, “Bhivpachi garaz naa! ” (There is no need to be scared! ) This lowering of the guard and non-insistence of a Covid-negative certificate had its obvious repercussions. Several staff members working on the casino boats on the river Mandovi tested positive for Covid. Believe it or not, but the Goa government actually granted permission to a casino to host a boxing tournament featuring India’s leading professional boxer Vijender Singh, complete with spectators, in mid-March this year. Also, as recently as April this year, local media consistently reported of bars and restaurants in north Goa crammed with tourists sans masks and no Covid SOPs in place, thanks to zero policing from the state government. To make matters worse, post the first Covid wave, the state government has also been guilty of not working to enhance local oxygen manufacturing facilities, increase hospital beds and recruit additional medical staff, despite several reminders and warnings from the state’s medical establishment. The result: Goa is facing its biggest health crisis to date and scarily, there does not seem to be anyone in charge.
english
.not-found-content h1 { font-size: 64px; } .not-found-content h3 { font-size: 42px; margin-bottom: 75px; } .not-found-content a { font-size: 24px; color: #fff; background: #895cdd; border-radius: 4px; padding: 20px 50px; text-decoration: none; } .not-found-content a:hover { background: #9c75e4; }
css
<reponame>itsmevky/homepage<filename>token-metadata/0x25a50F49c86d4E0Eccdfd69FDcA630868E4FE3c3/metadata.json { "name": "RZOR", "symbol": "RZOR", "address": "0x25a50F49c86d4E0Eccdfd69FDcA630868E4FE3c3", "decimals": 18, "dharmaVerificationStatus": "UNVERIFIED" }
json
<filename>src/components/codeBlock/copyButton.tsx import React, { useState } from 'react'; import styled from 'styled-components'; import copy from 'copy-to-clipboard'; const StyledButton = styled.button` position: absolute; top: 0.25rem; right: 0.25rem; background-color: transparent; color: #d2d2d2; background-color: #3a3a3a; cursor: pointer; font-family: 'Roboto', sans-serif; line-height: 1; border-style: none; padding: 0.5rem; transition: all 0.25s linear 0s; border-radius: 4px; `; const CodeBlockCopyButton: React.FC<{ code: string }> = ({ code }) => { const [values, setValues] = useState({ label: 'Copy', disabled: false }); const toggleDisabled = (): void => { setValues({ label: 'Copied', disabled: true }); setTimeout(() => setValues({ label: 'Copy', disabled: false }), 2000); }; const onClick = (): void => { copy(code); toggleDisabled(); }; return ( <StyledButton className="code-block-copy-button" onClick={onClick} disabled={values.disabled} > {values.label} </StyledButton> ); }; export default CodeBlockCopyButton;
typescript
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M18.92 5.01C18.72 4.42 18.16 4 17.5 4h-11c-.66 0-1.21.42-1.42 1.01L3 11v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.85 6h10.29l1.04 3H5.81l1.04-3zM19 16H5v-4.66l.12-.34h13.77l.11.34V16z" }, "0"), /*#__PURE__*/_jsx("circle", { cx: "7.5", cy: "13.5", r: "1.5" }, "1"), /*#__PURE__*/_jsx("circle", { cx: "16.5", cy: "13.5", r: "1.5" }, "2")], 'TimeToLeaveOutlined');
javascript
{"name":"right","subject":1008,"date":"10122009-052427","paths":{"Pen":{"strokes":[{"x":-1098,"y":172,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":0,"stroke_id":0},{"x":-1109,"y":179,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":1,"stroke_id":0},{"x":-1109,"y":179,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":2,"stroke_id":0},{"x":-1109,"y":179,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":3,"stroke_id":0},{"x":-1097,"y":177,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":4,"stroke_id":0},{"x":-1070,"y":166,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":5,"stroke_id":0},{"x":-1015,"y":163,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":6,"stroke_id":0},{"x":-947,"y":156,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":7,"stroke_id":0},{"x":-851,"y":147,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":8,"stroke_id":0},{"x":-737,"y":136,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":9,"stroke_id":0},{"x":-604,"y":125,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":10,"stroke_id":0},{"x":-462,"y":112,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":11,"stroke_id":0},{"x":-307,"y":98,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":12,"stroke_id":0},{"x":-155,"y":85,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":13,"stroke_id":0},{"x":-8,"y":73,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":14,"stroke_id":0},{"x":131,"y":62,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":15,"stroke_id":0},{"x":254,"y":50,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":16,"stroke_id":0},{"x":365,"y":46,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":17,"stroke_id":0},{"x":449,"y":38,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":18,"stroke_id":0},{"x":521,"y":30,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":19,"stroke_id":0},{"x":570,"y":23,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":20,"stroke_id":0},{"x":599,"y":15,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":21,"stroke_id":0},{"x":611,"y":11,"w":null,"z":null,"alpha":null,"beta":null,"gamma":null,"t":22,"stroke_id":0}]}},"device":{"osBrowserInfo":"Fujitsu-Siemens Lenovo X61 Tablet PC","resolutionHeight":null,"resolutionWidth":null,"windowHeight":null,"windowWidth":null,"pixelRatio":null,"mouse":false,"pen":true,"finger":false,"acceleration":false,"webcam":false}}
json
You visiting Pakistan? What!? Our neighbouring country? Is it? Yes, it is! Mumbai to Pakistan - 08/01/2020 (This was my first solo international trip) Never in my dreams I thought I would add Pakistan to the list of countries I've been. Thanks to the initiative by both the Indian government and Pakistani governments that kartarpur corridor project is open to the public. A little research, Courage and support was all that required to make this trip possible. One can easily travel to kartarpur corridor, Punjab from all the nearby states and cities as the Indian side of the corridor is well Connected by road. Since I've travelled from Mumbai to Kartarpur, Pakistan i.e Mumbai > Amritsar > Kartarpur > Amritsar > Mumbai. Step 1: Visit Ministry of Home Affairs'website as mentioned above and Scroll down to find and read the "Instructions for Filling Registration Form" Step 3: Select your nationality and date of journey. Press "Continue" to proceed. Step 4: The website will show the dates on which slots are available. Select the day you want to visit Kartarpur as per availability. Step 5: "Part A" of the Kartarpur Corridor registration form will appear on the screen. Fill it and click on "Save & Continue". Do the same for the remaining parts as well. Step 7: Once you complete all the stages, you will get your registration number and a pdf copy of the form. Save the pdf file and the registration number for future use. Pilgrims will be informed by SMS and email of the confirmation of registration three to four days in advance of the date of travel. An Electronic Travel Authorisation will also be generated. As the portal works on the 'first-come-first-served' basis, pilgrims are advised to register as soon as they can.
english
<filename>styles/css/search/vtex.store-components.css .productBrandName--summaryListDesktop { text-decoration: none; font-weight: 500; color: #0067C7; font-size: .875rem; } .productBrandName--summaryListMobile { text-decoration: none; color: #0067C7; font-size: .875rem; }
css