name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
IndividualBeliefJESP::IndividualBeliefJESP(unsigned int, unsigned int, PlanningUnitMADPDiscrete const&)
IndividualBeliefJESP::IndividualBeliefJESP(Index agentI, Index stage, const PlanningUnitMADPDiscrete& pu) : Belief(0), _m_pumadp(&pu), _m_stage(stage), _m_agentI(agentI) { //compute size of this belief: size_t nrS = _m_pumadp->GetNrStates(); _m_nrAgents= _m_pumadp->GetNrAgents(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %r8, %r15 movl %ecx, %ebp movl %edx, %r14d movq %rsi, %r12 movq %rdi, %rbx addq $0x8, %rsi movq %rsi, 0x50(%rsp) xorl %edx, %edx callq 0x241890 movq (%r12), %rax movq %rax, (%rbx) movq 0x18(%r12), %rcx movq -0xb8(%rax), %rax movq %r...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/IndividualBeliefJESP.cpp
IndividualBeliefJESP::~IndividualBeliefJESP()
IndividualBeliefJESP::~IndividualBeliefJESP() { delete [] _m_stepsizeJOHOH; delete [] _m_stepsizeSJOH; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rsi), %rax movq %rax, (%rdi) movq 0x18(%rsi), %rcx movq -0xb8(%rax), %rax movq %rcx, (%rdi,%rax) movq 0x98(%rdi), %rdi testq %rdi, %rdi je 0x2fd332 callq 0x23e190 movq 0x90(%r14), %rdi testq %rdi, %rdi je 0x2fd343 callq 0x23e190 movq 0x78(%r14), %r...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/IndividualBeliefJESP.cpp
IndividualBeliefJESP::GetAugmentedStateIndex(unsigned int, std::vector<unsigned int, std::allocator<unsigned int>> const&) const
Index IndividualBeliefJESP::GetAugmentedStateIndex(Index sI, const vector<Index>& oHist_others) const { //get indices without the offset for the stage: vector<Index> withinStageOHIndices_o = vector<Index>(oHist_others.size()); for(Index j=0; j < withinStageOHIndices_o.size(); j++) withinSt...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %r14 movq %rdi, %rbx movl %esi, 0xc(%rsp) movq 0x8(%rdx), %rsi subq (%rdx), %rsi sarq $0x2, %rsi leaq 0x38(%rsp), %r15 leaq 0x10(%rsp), %rdx movq %r15, %rdi callq 0x23a020 movq 0x8(%r15), %rax cmpq (%r15), %rax je 0x2fd5fd movl $0x1, %eb...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/IndividualBeliefJESP.cpp
IndividualBeliefJESP::Update(IndividualBeliefJESP const&, unsigned int, unsigned int, JointPolicyPureVector const*)
double IndividualBeliefJESP::Update( const IndividualBeliefJESP& b_prev, Index lastAI, Index newOI, const JointPolicyPureVector* jpol) { //set all probs of this belief to 0 _m_b = vector<double>(_m_b.size(), 0.0); double Po_ba = 0.0; // P(o|b,a) with o=newJO vector<double> newJB_unn...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movq %r8, 0x100(%rsp) movl %ecx, 0x80(%rsp) movl %edx, 0x78(%rsp) movq %rsi, %r15 movq %rdi, %rbx movq 0x18(%rdi), %rsi subq 0x10(%rdi), %rsi sarq $0x3, %rsi leaq 0x20(%rsp), %rdx movq $0x0, (%rdx) leaq 0x8(%rsp...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/IndividualBeliefJESP.cpp
IndividualBeliefJESP::SoftPrint[abi:cxx11]() const
string IndividualBeliefJESP::SoftPrint() const { stringstream ss; for(Index eI=0; eI < Size(); eI++) { ss << "eI="<<eI<<",[sI="<<GetStateIndex(eI) << ", " << SoftPrintVector(GetOthersObservationHistIndex(eI)) << " ] - p=" << Get(eI) << endl; } return (ss.str()); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x518, %rsp # imm = 0x518 movq %rsi, 0x8(%rsp) movq %rdi, %rbp leaq 0x208(%rsp), %rdi callq 0x238d20 leaq 0x3a0(%rsp), %r13 movl $0x80, %eax leaq 0x80(%rsp), %r12 leaq (%r12,%rax), %r15 leaq 0x390(%rsp), %rcx addq %rcx, %rax movq %rax, 0...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/IndividualBeliefJESP.cpp
FSAOHDist_NECOF::~FSAOHDist_NECOF()
FSAOHDist_NECOF::~FSAOHDist_NECOF() { size_t nrAg = _m_oHistConditional.size(); if(_m_stepsize.size()== nrAg) { for( Index agI=0; agI < nrAg; agI++) { size_t * sz_arr = _m_stepsize[agI]; if( sz_arr != 0) delete [] sz_arr; } _m_steps...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %rbx movq 0x1ea554(%rip), %rax # 0x4e91b8 addq $0x10, %rax movq %rax, (%rdi) movq 0x20(%rdi), %r15 movq 0x28(%rdi), %r12 movq %r12, %rax subq %r15, %rax movq %rax, %r14 sarq $0x3, %r14 movq 0x88(%rdi), %rcx subq 0x80(%rdi), %rcx cmpq %rax, %rcx jne 0x...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/FSAOHDist_NECOF.cpp
FSAOHDist_NECOF::~FSAOHDist_NECOF()
FSAOHDist_NECOF::~FSAOHDist_NECOF() { size_t nrAg = _m_oHistConditional.size(); if(_m_stepsize.size()== nrAg) { for( Index agI=0; agI < nrAg; agI++) { size_t * sz_arr = _m_stepsize[agI]; if( sz_arr != 0) delete [] sz_arr; } _m_steps...
pushq %rbx movq %rdi, %rbx callq 0x237d50 movl $0x98, %esi movq %rbx, %rdi popq %rbx jmp 0x23bbf0 nop
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/FSAOHDist_NECOF.cpp
FSAOHDist_NECOF::GetOHProb_relT(Scope const&, std::vector<unsigned int, std::allocator<unsigned int>> const&) const
double FSAOHDist_NECOF::GetOHProb_relT( const Scope& agSc, const std::vector<Index>& ohI) const { double p = 1.0; for(Index i=0; i < agSc.size(); i++) { Index agI = agSc.at(i); Index ohI_agI = ohI.at(i); double p_this_agent = _m_oHistMarginals.at(agI).at(ohI_agI)...
pushq %rbx movq (%rsi), %r8 movq 0x8(%rsi), %r9 subq %r8, %r9 je 0x2fee4a sarq $0x2, %r9 movq (%rdx), %r10 movq 0x8(%rdx), %rdx subq %r10, %rdx sarq $0x2, %rdx movq 0x38(%rdi), %r11 movq 0x40(%rdi), %rcx subq %r11, %rcx sarq $0x3, %rcx movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB imulq %rcx, %rax vmovs...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/FSAOHDist_NECOF.cpp
FSAOHDist_NECOF::GetXOHProb_relT_SufficientSFscope(Scope const&, std::vector<unsigned int, std::allocator<unsigned int>> const&, Scope const&, std::vector<unsigned int, std::allocator<unsigned int>> const&) const
double FSAOHDist_NECOF::GetXOHProb_relT_SufficientSFscope( const Scope& sfSc, const std::vector<Index>& sfacIndices, const Scope& agSc, const std::vector<Index>& ohIndices ) const { double p = GetXProb(sfSc, sfacIndices); for(Index i=0; i < agSc.size(); i++) { Index agI...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x208, %rsp # imm = 0x208 movq %r8, %r15 movq %rcx, %rbx movq %rdi, %r13 movq (%rdi), %rax movq %rsi, 0x8(%rsp) movq %rdx, 0x28(%rsp) callq *0x28(%rax) movq (%rbx), %rax movq %rbx, (%rsp) cmpq %rax, 0x8(%rbx) je 0x2ff62b movl $0x1, %ebx ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/FSAOHDist_NECOF.cpp
FSAOHDist_NECOF::SoftPrint[abi:cxx11]() const
string FSAOHDist_NECOF::SoftPrint() const { stringstream ss; ss << "Nearly completely factored (S,OH)-distribution:"<<endl << "state factor marginals="<<endl; ss << _m_sfacMarginals->SoftPrint() << "oHist marginals="<< SoftPrintVector(_m_oHistMarginals) << endl; ss << "oHist conditionals...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x6c8, %rsp # imm = 0x6C8 movq %rsi, %r15 movq %rdi, %r14 leaq 0xa8(%rsp), %rdi callq 0x238d20 leaq 0xb8(%rsp), %rdi leaq 0xf747c(%rip), %rsi # 0x3f7bb3 movl $0x2f, %edx callq 0x23cbd0 movq 0xb8(%rsp), %rax movq -0x18(%rax), %rdi lea...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/FSAOHDist_NECOF.cpp
ENoSubScope::ENoSubScope(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
ENoSubScope(std::string arg):E(arg) {}
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx movq %rsp, %r14 movq %r14, %rdi movq %rax, %rsi callq 0x236030 movq 0x1e84c0(%rip), %rax # 0x4e99a8 addq $0x10, %rax movq %rax, (%rbx) leaq 0x8(%rbx), ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/../../src/base/ENoSubScope.h
PlanningUnitMADPDiscrete::InitializeActionHistories()
void PlanningUnitMADPDiscrete::InitializeActionHistories() { if(_m_params.GetComputeIndividualActionHistories()) { size_t nrAgents=GetNrAgents(); for(Index i = 0; i < nrAgents; i++) { vector<ActionHistoryTree*> * temp = new vector<ActionHistoryTree*>; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx cmpb $0x1, 0x3a(%rdi) jne 0x302b5a movq (%rbx), %rax movq %rbx, %rdi callq *0x30(%rax) testq %rax, %rax je 0x302d4b movq %rax, %r14 leaq 0x230(%rbx), %rax movq %rax, 0x40(%rsp) leaq 0xe8(%rbx), %rax movq %rax, 0x38(%rsp) ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::CreateObservationHistoryTree(unsigned int)
ObservationHistoryTree* PlanningUnitMADPDiscrete::CreateObservationHistoryTree(Index agentI) { //we want to number the Observation Histories breadth-first, so we //use a queue: queue<ObservationHistoryTree*> ohtQueue; Index ObservationHistoryIndex = 0; Index maxLength = GetHorizon()-1;//max. o...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movl %esi, %ebp movq %rdi, %rbx vxorps %xmm0, %xmm0, %xmm0 leaq 0x40(%rsp), %rdi vmovups %zmm0, 0x10(%rdi) vmovups %zmm0, (%rdi) xorl %esi, %esi vzeroupper callq 0x236250 movl $0xffffffff, %r12d # imm = 0xFFFFFFFF addq 0x18(%rbx), %...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::GetNrObservationHistoriesVector(unsigned int) const
const vector<size_t> PlanningUnitMADPDiscrete::GetNrObservationHistoriesVector(Index ts) const { vector<size_t> nrOHts; for(Index agentI = 0; agentI < GetNrAgents(); agentI++) nrOHts.push_back( GetNrObservationHistories(agentI, ts) ); return nrOHts; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx vxorps %xmm0, %xmm0, %xmm0 vmovups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) xorl %r15d, %r15d leaq 0x8(%rsp), %r12 movq (%r14), %rax movq %r14, %rdi callq *0x30(%rax) movl %r15d, %ecx cmpq %rcx, %rax jbe 0...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::GetTimeStepForJAOHI(unsigned long long) const
Index PlanningUnitMADPDiscrete::GetTimeStepForJAOHI(LIndex jaohI) const { // copied from GetTimeStepForJOHI if(_m_params.GetComputeJointActionObservationHistories()) return(GetJointActionObservationHistoryTree(jaohI)-> GetContainedElement()->GetLength() ); else { Index t ...
pushq %r14 pushq %rbx pushq %rax cmpb $0x1, 0x3e(%rdi) jne 0x3065dc callq 0x238680 movq 0x50(%rax), %rax movl 0x8(%rax), %eax jmp 0x30660b movq 0x18(%rdi), %rcx movl $0xffffffff, %eax # imm = 0xFFFFFFFF testq %rcx, %rcx je 0x30660b cmpq $0xf423f, %rcx # imm = 0xF423F je 0x306613 movq 0x1b0(%rdi), %rdx xo...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::GetJointObservationHistoryArrays(unsigned int, unsigned int, unsigned int*) const
void PlanningUnitMADPDiscrete::GetJointObservationHistoryArrays (Index johI, Index t, Index joIs[]) const { //substract the offset to find out what is the index within the time-step-t- //observation-histories. Index johIwithinThisT = johI - CastLIndexToIndex(_m_firstJOHIforT.at(t)); Index rema...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %edx, %ebp movl %edx, %ebx movq 0xb0(%rdi), %rax movq 0xb8(%rdi), %rdx subq %rax, %rdx sarq $0x3, %rdx cmpq %rbx, %rdx jbe 0x306838 movq %rcx, %r14 movl %esi, %r15d movq %rdi, %r12 movq (%rax,%rbx,8), %rdi callq 0x244850 movl %eax, %r13d ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::ComputeHistoryIndex(unsigned int, unsigned int, unsigned int const*, unsigned long) const
Index PlanningUnitMADPDiscrete::ComputeHistoryIndex( Index t, //the stage Index t_offset, //for each stage t, there is an offset //const vector<Index>& indices, //the indices of the (J)(A/O)s const Index indices [], //the indices of the (J)(A/O)s size_t indexDomainSize //the i...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movl %edx, %ebx testl %esi, %esi je 0x306c99 movq %rcx, %r14 movl %esi, %ebp movl %ebx, %ebx vcvtusi2sd %r8, %xmm0, %xmm0 vmovsd %xmm0, 0x8(%rsp) movl %esi, %r15d decl %ebp xorl %r12d, %r12d vcvtsi2sd %ebp, %xmm2, %xmm1 vmovsd 0x8(%rsp), %xmm0 call...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::GetActionObservationHistoryIndex(unsigned int, unsigned int, std::vector<unsigned int, std::allocator<unsigned int>> const&, std::vector<unsigned int, std::allocator<unsigned int>> const&) const
Index PlanningUnitMADPDiscrete::GetActionObservationHistoryIndex( Index agentI, Index t, const vector<Index>& actions, const vector<Index>& observations ) const { //functioning is the same as for observation histories: only now the //base is the nr AO. //-> first ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r8, %r12 movq %rcx, %r13 movl %edx, %ebx movl %esi, %r8d movl %esi, %esi movq 0x198(%rdi), %rax movq 0x1a0(%rdi), %rcx subq %rax, %rcx sarq $0x3, %rcx movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB imulq %rcx, %rdx c...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::JointToIndividualActionObservationHistoryIndicesRef(unsigned long long) const
const vector<Index>& PlanningUnitMADPDiscrete::JointToIndividualActionObservationHistoryIndicesRef( LIndex jaohI) const { if(jaohI < _m_nrJointActionObservationHistories) { JointActionObservationHistoryTree* jaoht = _m_jointActionObservationHistoryTreeVector[CastLIndexToIndex(ja...
pushq %r14 pushq %rbx subq $0x188, %rsp # imm = 0x188 movq %rsi, %rbx cmpq %rsi, 0x160(%rdi) jbe 0x3079e2 movq %rdi, %r14 movq %rbx, %rdi callq 0x244850 movl %eax, %eax movq 0x2a0(%r14), %rcx movq (%rcx,%rax,8), %rdi callq 0x240d60 addq $0x20, %rax addq $0x188, %rsp # imm = 0x188 popq %rbx popq %r...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::GetJAOHProbs(JointBeliefInterface*, unsigned long long, unsigned long long, JointBeliefInterface const*, JointPolicyDiscrete const*) const
double PlanningUnitMADPDiscrete::GetJAOHProbs( //output args: JointBeliefInterface* jb, //input args: LIndex jaohI, // the jaohI for which we want to know the probs LIndex p_jaohI, //=0 the GIVEN predecessor const JointBeliefInterface* p_jb,// = NULL, // the corresponding GIVEN jb of p con...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rcx, %r12 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %r8, -0x60(%rbp) testq %r8, %r8 jne 0x309146 testq %r12, %r12 jne 0x309146 testq %r9, %r9 jne 0x309146 cmpb $0x1, 0x3f(%rbx) jne 0x309146 movq %r14, %rd...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::GetTimeStepForAHI(unsigned int, unsigned int) const
Index PlanningUnitMADPDiscrete::GetTimeStepForAHI(Index agI, Index ahI) const { if(_m_params.GetComputeIndividualActionHistories()) return(GetActionHistoryTree(agI, ahI)->GetContainedElement()-> GetLength() ); //else... find out what time step this is a joh for Index t = 0; size...
pushq %rax cmpb $0x1, 0x3a(%rdi) jne 0x30a86d callq 0x234f50 movq 0x50(%rax), %rax movl 0x8(%rax), %eax jmp 0x30a8d3 movq 0x18(%rdi), %rcx testq %rcx, %rcx je 0x30a8ce movl %esi, %esi movq 0x118(%rdi), %r8 movq 0x120(%rdi), %rdi subq %r8, %rdi sarq $0x3, %rdi movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAA...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
PlanningUnitMADPDiscrete::GetSuccessorJAHI(unsigned int, unsigned int) const
Index PlanningUnitMADPDiscrete::GetSuccessorJAHI(Index jahI, Index joI) const { if(_m_params.GetComputeJointActionHistories()) return(CastLIndexToIndex(GetJointActionHistoryTree(jahI)->GetSuccessor(joI)-> GetIndex())); Index t = GetTimeStepForJAHI(jahI); if(t >= Get...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movl %edx, %ebx movl %esi, %ebp movq %rdi, %r14 cmpb $0x1, 0x3d(%rdi) jne 0x30a975 movq %r14, %rdi movl %ebp, %esi callq 0x236680 movl %ebx, %esi movq %rax, %rdi callq 0x2379e0 movq %rax, %rdi callq 0x240330 movq %rax, %rdi popq %rbx popq %r12 popq %r14 popq %r15 p...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/support/PlanningUnitMADPDiscrete.cpp
boost::spirit::classic::rule<boost::spirit::classic::scanner<boost::spirit::classic::position_iterator<boost::spirit::classic::file_iterator<char, boost::spirit::classic::fileiter_impl::mmap_file_iterator<char>>, boost::spirit::classic::file_position_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::al...
rule& operator=(ParserT const& p) { ptr.reset(new impl::concrete_parser<ParserT, scanner_t, attr_t>(p)); return *this; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx movl $0x138, %edi # imm = 0x138 callq 0x23b970 movq %rax, %r14 movq 0x1c42fb(%rip), %rax # 0x4e9718 addq $0x10, %rax movq %rax, (%r14) leaq 0x8(%r14), %rdi movq %r15, %rsi callq 0x243280 movq (%rbx), %rdi movq %r14, (%rbx) testq %rdi, %rdi j...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/../../src/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp
void boost::spirit::classic::attributed_action_policy<boost::spirit::classic::nil_t>::call<DPOMDPFormatParsing::ParserDPOMDPFormat_Spirit::ProcessOMatrix, boost::spirit::classic::position_iterator<boost::spirit::classic::file_iterator<char, boost::spirit::classic::fileiter_impl::mmap_file_iterator<char>>, boost::spirit...
static void call( ActorT const& actor, nil_t, IteratorT const& first, IteratorT const& last) { actor(first, last); }
pushq %r14 pushq %rbx subq $0xd8, %rsp movq %rdx, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %rdi callq 0x240710 leaq 0x70(%rsp), %rdi movq %r14, %rsi callq 0x240710 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x2384f0 leaq 0xb8(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x33011d movq 0xb8(%rsp), %rsi incq %rsi cal...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/../../src/boost/boost/spirit/home/classic/core/scanner/scanner.hpp
boost::spirit::classic::parser_result<boost::spirit::classic::action<comment_cobp::CommentOrBlankParser, void (*)(boost::spirit::classic::position_iterator<boost::spirit::classic::file_iterator<char, boost::spirit::classic::fileiter_impl::mmap_file_iterator<char>>, boost::spirit::classic::file_position_base<std::__cxx1...
typename parser_result<self_t, ScannerT>::type parse(ScannerT const& scan) const { typedef typename ScannerT::iterator_t iterator_t; typedef typename parser_result<self_t, ScannerT>::type result_t; scan.at_end(); // allow skipper to take effect iterator_t...
pushq %r15 pushq %r14 pushq %rbx subq $0x70, %rsp movq %rsi, %r15 movq %rdi, %r14 movq 0x8(%rsi), %rsi leaq 0x8(%rsp), %rdi callq 0x240710 movq (%r14), %rdi movq %r15, %rsi callq 0x2447e0 movq %rax, %rbx testq %rax, %rax js 0x338ec5 addq $0x8, %r14 movq 0x8(%r15), %rdx leaq 0x8(%rsp), %rsi movq %r14, %rdi callq 0x242ef...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/../../src/boost/boost/spirit/home/classic/core/composite/actions.hpp
boost::spirit::classic::rule<boost::spirit::classic::scanner<boost::spirit::classic::position_iterator<boost::spirit::classic::file_iterator<char, boost::spirit::classic::fileiter_impl::mmap_file_iterator<char>>, boost::spirit::classic::file_position_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::al...
rule& operator=(ParserT const& p) { ptr.reset(new impl::concrete_parser<ParserT, scanner_t, attr_t>(p)); return *this; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx movl $0x140, %edi # imm = 0x140 callq 0x23b970 movq %rax, %r14 movq 0x1a3edd(%rip), %rax # 0x4e9590 addq $0x10, %rax movq %rax, (%r14) leaq 0x8(%r14), %rdi movq %r15, %rsi callq 0x23d680 movq (%rbx), %rdi movq %r14, (%rbx) testq %rdi, %rdi j...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/../../src/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp
void boost::spirit::classic::attributed_action_policy<boost::spirit::classic::nil_t>::call<POMDPFormatParsing::ParserPOMDPFormat_Spirit::InitializeStates, boost::spirit::classic::position_iterator<boost::spirit::classic::file_iterator<char, boost::spirit::classic::fileiter_impl::mmap_file_iterator<char>>, boost::spirit...
static void call( ActorT const& actor, nil_t, IteratorT const& first, IteratorT const& last) { actor(first, last); }
pushq %r14 pushq %rbx subq $0xd8, %rsp movq %rdx, %r14 movq %rdi, %rbx leaq 0x70(%rsp), %rdi callq 0x240710 leaq 0x8(%rsp), %rdi movq %r14, %rsi callq 0x240710 movq (%rbx), %rax movq 0x8(%rax), %rdi movq (%rdi), %rax callq *0x30(%rax) movq (%rbx), %rcx movl %eax, 0x5c(%rcx) movl $0xc8, %edi addq 0x8(%rcx), %rdi movl $0...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/../../src/boost/boost/spirit/home/classic/core/scanner/scanner.hpp
boost::spirit::classic::parser_result<boost::spirit::classic::sequence<boost::spirit::classic::sequence<boost::spirit::classic::sequence<boost::spirit::classic::sequence<boost::spirit::classic::action<boost::spirit::classic::action<boost::spirit::classic::epsilon_parser, POMDPFormatParsing::ParserPOMDPFormat_Spirit::De...
typename parser_result<self_t, ScannerT>::type parse(ScannerT const& scan) const { typedef typename parser_result<self_t, ScannerT>::type result_t; if (result_t ma = this->left().parse(scan)) if (result_t mb = this->right().parse(scan)) { ...
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %r15 callq 0x23bea0 testq %rax, %rax js 0x34ad55 movq %rax, %rbx addq $0xa8, %r15 movq %r15, %rdi movq %r14, %rsi callq 0x23f350 movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx cmovgq %rcx, %rax js 0x34ad55 addq %rbx, %rax jmp 0x34ad5c movq $-0x1, %rax popq %...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/../../src/boost/boost/spirit/home/classic/core/composite/sequence.hpp
ParserTOIDecPOMDPDiscrete::ParseAgent(unsigned int)
void ParserTOIDecPOMDPDiscrete::ParseAgent(Index id) { MultiAgentDecisionProcessDiscrete* madp = _m_problem->GetIndividualMADPD(id); DecPOMDPDiscrete *decpomdp; decpomdp=new DecPOMDPDiscrete("", "", madp->GetProblemFile()); decpomdp->SetSparse(madp->GetSparse()); DPOMDPFormatParsing::Pars...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x198, %rsp # imm = 0x198 movl %esi, %ebp movq %rdi, %r14 movq 0x8(%rdi), %rax movl %esi, %ecx movq 0xd8(%rax), %rax movq (%rax,%rcx,8), %r15 movl $0x230, %edi # imm = 0x230 callq 0x23b970 movq %rax, %rbx leaq 0x50(%rsp), %r12...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/ParserTOIDecPOMDPDiscrete.cpp
ParserProbModelXML::GetVariableName[abi:cxx11](_xmlNode*) const
string ParserProbModelXML::GetVariableName(const xmlNodePtr node) const { if(!xmlHasProp(node, (xmlChar*) "name")){ cout << "Warning: Attempted to extract the name of a nameless node" << endl; return ""; } string name = (char*) xmlGetProp(node, (xmlChar*) "name"); size_t pos = name.find_...
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdx, %r14 movq %rdi, %rbx leaq 0xa01e5(%rip), %rsi # 0x3f5a75 movq %rdx, %rdi callq 0x23aeb0 testq %rax, %rax je 0x35593c leaq 0xa01cd(%rip), %rsi # 0x3f5a75 movq %r14, %rdi callq 0x23fb40 leaq 0x8(%rsp), %r14 leaq 0x7(%rsp), %rdx movq %r14, %rdi movq %rax, %rsi call...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/ParserProbModelXML.cpp
ParserProbModelXML::ReadObservations()
void ParserProbModelXML::ReadObservations() { if(DEBUG_PARSE) { cout << " --- Now Parsing Observations ---" << endl; } xmlChar *xpath = (xmlChar*) "/ProbModelXML/ProbNet/Variables/Variable[@timeSlice='1' and @role='decision']"; xmlXPathObjectPtr action_nodes = GetNodesMatchingExpression(xpat...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3f8, %rsp # imm = 0x3F8 movq %rdi, %rbx leaq 0xb1d24(%rip), %rsi # 0x408333 xorl %edx, %edx callq 0x239850 testq %rax, %rax je 0x356c64 movq %rax, 0x80(%rsp) movq 0x8(%rax), %r14 vxorps %xmm0, %xmm0, %xmm0 vmovaps %xmm0, 0x10(%rsp)...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/ParserProbModelXML.cpp
ParserProbModelXML::QueryTable(_xmlNode*, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::pair<unsigned int, unsigned int>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, s...
double ParserProbModelXML::QueryTable(const xmlNodePtr node, const std::map<std::string, std::pair<Index, Index> > t0_deps, const std::map<std::string, std::pair<Index, Index> > t1_deps) { xmlNodePtr data_node = FindChild(node, "Values"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x2a8, %rsp # imm = 0x2A8 movq %rcx, 0x8(%rsp) movq %rdx, 0x70(%rsp) movq %rsi, %r15 movq %rdi, %rbx leaq 0xf0(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xb042b(%rip), %rsi # 0x4085e1 leaq 0xb042a(%rip), %rdx # 0x4085e7 leaq 0xe0(%...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/ParserProbModelXML.cpp
ParserProbModelXML::AddToLocalSFActionScope(unsigned int, Scope)
void ParserProbModelXML::AddToLocalSFActionScope(Index sfI, Scope AScope) { while(_m_AScopes_Y.size() <= sfI) _m_AScopes_Y.push_back(Scope()); _m_AScopes_Y[sfI].Insert(AScope); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %rbx movl %esi, %r13d movq 0x90(%rdi), %rax movq 0x98(%rdi), %rcx subq %rax, %rcx sarq $0x3, %rcx movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB imulq %rbp, %rcx cmpq %r13, %rcx ja 0x35b7cc movq %rdi, %r14 leaq ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/ParserProbModelXML.cpp
ParserPOMDPDiscrete::Parse()
void ParserPOMDPDiscrete::Parse() { #if USE_POMDPSOLVE_LIBRARY string filename=_m_problem->GetProblemFile(); readMDP(const_cast<char*>(filename.c_str())); _m_problem->SetNrAgents(1); _m_problem->SetNrStates(gNumStates); _m_problem->SetDiscount(gDiscount); if(gValueType==REWARD_value_type) ...
pushq %r14 pushq %rbx pushq %rax movl $0x28, %edi callq 0x236e10 movq %rax, %rbx leaq 0xa8e51(%rip), %rsi # 0x408c7d movq %rax, %rdi callq 0x234d90 movq 0x1896ed(%rip), %rsi # 0x4e9528 movq 0x189b26(%rip), %rdx # 0x4e9968 movq %rbx, %rdi callq 0x242240 movq %rax, %r14 movq %rbx, %rdi callq 0x238e00 movq %r14,...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/ParserPOMDPDiscrete.cpp
MADPParser::Parse(FactoredDecPOMDPDiscrete*)
void MADPParser::Parse(FactoredDecPOMDPDiscrete *model) { ParserProbModelXML parser(model); parser.Parse(); }
pushq %rbx subq $0x110, %rsp # imm = 0x110 leaq 0x8(%rsp), %rbx movq %rbx, %rdi callq 0x240270 movq %rbx, %rdi callq 0x23d8b0 movq 0x189ea2(%rip), %rax # 0x4e9df0 addq $0x10, %rax movq %rax, 0x8(%rsp) movq 0xf8(%rsp), %rdi testq %rdi, %rdi je 0x35ff74 movq 0x108(%rsp), %rsi subq %rdi, %rsi callq 0x23bbf0 ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/parser/MADPParser.cpp
non-virtual thunk to JointActionDiscrete::~JointActionDiscrete()
JointActionDiscrete::~JointActionDiscrete() { if(DEBUG_JAD) cout << "deleting joint action"; /* Do not delete the individual actions that are pointed to (there is only * one copy of those, so that will lead to segfaults) for(Index i=0; i<_m_apVector.size(); i++) delete _m_apVector[i];*/ _m_apVecto...
addq $-0x8, %rdi jmp 0x2340d0 nop
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/JointActionDiscrete.cpp
JointActionDiscrete::SoftPrintBrief[abi:cxx11]() const
string JointActionDiscrete::SoftPrintBrief() const { stringstream ss; vector<const ActionDiscrete*>::const_iterator it = _m_apVector.begin(); vector<const ActionDiscrete*>::const_iterator last = _m_apVector.end(); while(it != last) { if(*it != 0) ss << (*it)->SoftPrintBrie...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %rsi, %r14 movq %rdi, 0x28(%rsp) leaq 0x30(%rsp), %rdi callq 0x238d20 movq 0x30(%r14), %r13 movq 0x38(%r14), %rbp cmpq %rbp, %r13 je 0x3607bf leaq 0x40(%rsp), %r14 leaq -0x8(%rbp), %rbx leaq 0x8f544(%rip), ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/JointActionDiscrete.cpp
JointObservationDiscrete::AddIndividualObservation(ObservationDiscrete const*, unsigned int)
void JointObservationDiscrete::AddIndividualObservation(const ObservationDiscrete* a, Index agentI) { if (agentI != _m_opVector.size() ) cout << "WARNING! AddIndividualAction: size of _m_opVector does not match index of agent!\n _m_opVector.size()="<< _m_opVector.size()<<" - agentI="<<agentI<<endl; _m_...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movq %rsi, (%rsp) movl %edx, %r14d movq 0x38(%rdi), %rax subq 0x30(%rdi), %rax sarq $0x3, %rax cmpq %r14, %rax je 0x360eeb movq 0x1889e9(%rip), %r15 # 0x4e9860 leaq 0xa7f03(%rip), %rsi # 0x408d81 movl $0x65, %edx movq %r15, %rdi callq 0x23cbd0 mov...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/JointObservationDiscrete.cpp
JointObservationDiscrete::SoftPrintBrief[abi:cxx11]() const
string JointObservationDiscrete::SoftPrintBrief() const { stringstream ss; vector<const ObservationDiscrete*>::const_iterator it = _m_opVector.begin(); vector<const ObservationDiscrete*>::const_iterator last = _m_opVector.end(); while(it != last) { if(*it != 0) ss << (*it)->So...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %rsi, %r14 movq %rdi, 0x28(%rsp) leaq 0x30(%rsp), %rdi callq 0x238d20 movq 0x30(%r14), %r13 movq 0x38(%r14), %rbp cmpq %rbp, %r13 je 0x36113f leaq 0x40(%rsp), %r14 leaq -0x8(%rbp), %rbx leaq 0x8ebc4(%rip), ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/JointObservationDiscrete.cpp
ObservationModelDiscrete::SampleJointObservation(unsigned int, unsigned int)
Index ObservationModelDiscrete::SampleJointObservation(Index jaI, Index sucI) { double randNr=rand() / (RAND_MAX + 1.0); double sum=0; Index jo=0; int i; for(i=0;i<_m_nrJointObservations;i++) { sum+=Get(jaI,sucI,i); if(randNr<=sum) { jo=i; br...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movl %edx, %ebx movl %esi, %ebp movq %rdi, %r14 callq 0x234de0 cmpl $0x0, 0x10(%r14) jle 0x3619a9 vcvtsi2sd %eax, %xmm0, %xmm0 vmulsd 0x8e789(%rip), %xmm0, %xmm0 # 0x3f00e8 vmovsd %xmm0, 0x10(%rsp) vxorpd %xmm0, %xmm0, %xmm0 xorl %r15d, %r15d vmovsd %xmm0, 0x...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/ObservationModelDiscrete.cpp
RewardModelMappingSparseMapped::RewardModelMappingSparseMapped(unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
RewardModelMappingSparseMapped::RewardModelMappingSparseMapped(size_t nrS, size_t nrJA, const string &s_str, const string &ja_str) : RewardModel(nrS, nrJA), _m_R(nrS,nrJA) { _m_s_str = s_str; _m_ja_str...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r15 movq %rsi, 0x8(%rdi) movq %rdx, 0x10(%rdi) movq 0x1855f3(%rip), %rax # 0x4e8d40 addq $0x10, %rax movq %rax, (%rdi) leaq 0x18(%rdi), %rbx leaq 0x28(%rdi), %r14 movq %r14, 0x18(%rdi) xorl %eax, %eax movq %rax, 0x20(%rdi) movb %...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/RewardModelMappingSparseMapped.cpp
RewardModelMappingSparseMapped::~RewardModelMappingSparseMapped()
RewardModelMappingSparseMapped::~RewardModelMappingSparseMapped() { }
pushq %rbx movq %rdi, %rbx movq 0x18552b(%rip), %rax # 0x4e8d40 addq $0x10, %rax movq %rax, (%rdi) addq $0x68, %rdi callq 0x23aa40 movq 0x38(%rbx), %rdi leaq 0x48(%rbx), %rax cmpq %rax, %rdi je 0x36383d movq (%rax), %rsi incq %rsi callq 0x23bbf0 movq 0x18(%rbx), %rdi addq $0x28, %rbx cmpq %rbx, %rdi je 0x363856 movq...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/RewardModelMappingSparseMapped.cpp
boost::numeric::ublas::sparse_matrix_element<boost::numeric::ublas::mapped_matrix<double, boost::numeric::ublas::basic_row_major<unsigned long, long>, boost::numeric::ublas::map_std<unsigned long, double, std::allocator<std::pair<unsigned long const, double>>>>>::set(double const&) const
void set (const value_type &s) const { pointer p = (*this) ().find_element (i_, j_); if (!p) (*this) ().insert_element (i_, j_, s); else *p = s; }
pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %rax movq (%rdi), %rdi movq 0x8(%rdi), %rcx movq 0x20(%rdi), %rsi imulq 0x8(%rax), %rcx addq 0x10(%rax), %rcx leaq 0x18(%rdi), %rax movq %rax, %rdx testq %rsi, %rsi je 0x363d3b movq %rax, %rdx xorl %r8d, %r8d cmpq %rcx, 0x20(%rsi) setb %r8b cmovaeq %rsi, %rdx movq ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/../../src/boost/boost/numeric/ublas/matrix_sparse.hpp
MultiAgentDecisionProcess::~MultiAgentDecisionProcess()
MultiAgentDecisionProcess::~MultiAgentDecisionProcess() { _m_problemFile.clear(); }
pushq %rbx movq %rdi, %rbx movq (%rsi), %rax movq %rax, (%rdi) movq 0x8(%rsi), %rcx movq -0x40(%rax), %rax movq %rcx, (%rdi,%rax) movq $0x0, 0x90(%rdi) movq 0x88(%rdi), %rax movb $0x0, (%rax) movq 0xa8(%rdi), %rdi leaq 0xb8(%rbx), %rax cmpq %rax, %rdi je 0x3642a7 movq (%rax), %rsi incq %rsi callq 0x23bbf0 movq 0x88(%rb...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MultiAgentDecisionProcess.cpp
NamedDescribedEntity::~NamedDescribedEntity()
std::string GetName() const {return _m_name;}
pushq %rbx movq %rdi, %rbx movq 0x184599(%rip), %rax # 0x4e90d0 addq $0x10, %rax movq %rax, (%rdi) movq 0x28(%rdi), %rdi leaq 0x38(%rbx), %rax cmpq %rax, %rdi je 0x364b56 movq (%rax), %rsi incq %rsi callq 0x23bbf0 movq 0x8(%rbx), %rdi addq $0x18, %rbx cmpq %rbx, %rdi je 0x364b6f movq (%rbx), %rsi incq %rsi popq %rbx...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/./NamedDescribedEntity.h
MultiAgentDecisionProcessDiscrete::MultiAgentDecisionProcessDiscrete(MultiAgentDecisionProcessDiscrete const&)
MultiAgentDecisionProcessDiscrete::MultiAgentDecisionProcessDiscrete( const MultiAgentDecisionProcessDiscrete& a) : MultiAgentDecisionProcessDiscreteInterface(a), MultiAgentDecisionProcess(a) { _m_S=a._m_S; _m_A=a._m_A; _m_O=a._m_O; _m_initialized=a._m_initialized; _m_sparse=a._m_sparse;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %rbx leaq 0x8(%rsi), %r14 movq %r14, %rsi callq 0x2354a0 movq (%r15), %rax movq %rax, (%rbx) movq 0x18(%r15), %rcx movq -0x48(%rax), %rax movq %rcx, (%rbx,%rax) movq 0x20(%r15), %rax movq (%rbx), %rcx...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MultiAgentDecisionProcessDiscrete.cpp
MultiAgentDecisionProcessDiscrete::CreateNewTransitionModel()
void MultiAgentDecisionProcessDiscrete::CreateNewTransitionModel() { if(_m_initialized) delete(_m_p_tModel); if(_m_sparse) _m_p_tModel=new TransitionModelMappingSparse(GetNrStates(), GetNrJointActions()); else _m_p_tModel=new Tran...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpb $0x1, 0x1e0(%rdi) jne 0x36585d movq 0x1e8(%rbx), %rdi testq %rdi, %rdi je 0x36585d movq (%rdi), %rax callq *0x8(%rax) movb 0x1e1(%rbx), %bpl movl $0x28, %edi callq 0x23b970 movq %rax, %r14 movq (%rbx), %rax movq 0x30(%rax), %rax cmpb $0x1, %bpl...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MultiAgentDecisionProcessDiscrete.cpp
MultiAgentDecisionProcessDiscrete::GetOGet() const
OGet* MultiAgentDecisionProcessDiscrete::GetOGet() const { if(!_m_eventObservability) //default { if(_m_sparse) return new OGet_ObservationModelMappingSparse( ((ObservationModelMappingSparse*)_m_p_oModel) ); else return new OGet_ObservationModelMapp...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 movb 0x1e1(%rdi), %bpl movb 0x1e2(%rdi), %r15b movl $0x20, %edi callq 0x23b970 movq %rax, %rbx movq 0x1f0(%r14), %rsi testb %r15b, %r15b je 0x365994 testb %bpl, %bpl je 0x3659a3 movq %rbx, %rdi callq 0x2426f0 jmp 0x3659b5 testb %bpl, %bpl je 0x3659a...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MultiAgentDecisionProcessDiscrete.cpp
MultiAgentDecisionProcessDiscrete::CreateNewObservationModel()
void MultiAgentDecisionProcessDiscrete::CreateNewObservationModel() { if(_m_initialized) delete(_m_p_oModel); if(!_m_eventObservability) { if(_m_sparse) _m_p_oModel = new ObservationModelMappingSparse(GetNrStates(), ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %r14 cmpb $0x1, 0x1e0(%rdi) jne 0x365a18 movq 0x1f0(%r14), %rdi testq %rdi, %rdi je 0x365a18 movq (%rdi), %rax callq *0x8(%rax) movb 0x1e1(%r14), %bpl movb 0x1e2(%r14), %r15b movl $0x30, %edi callq 0x23b970 movq %rax, %rbx movq (%r14), %rax movq 0x30(%ra...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MultiAgentDecisionProcessDiscrete.cpp
MultiAgentDecisionProcessDiscrete::SanityCheck()
bool MultiAgentDecisionProcessDiscrete::SanityCheck() { size_t nrJA=GetNrJointActions(), nrS=GetNrStates(), nrJO=GetNrJointObservations(); double sum,p; bool sane=true; // check transition model for(Index a=0;a<nrJA;a++) { for(Index from=0;from<nrS;from++) {...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x218, %rsp # imm = 0x218 movq %rdi, %rbx movq (%rdi), %rax callq *0x70(%rax) movq %rax, %r14 movq (%rbx), %rax movq %rbx, %rdi callq *0x30(%rax) movq %rax, %r13 movq (%rbx), %rax movq %rbx, %rdi callq *0xd0(%rax) movq %rax, %rbp movq %r...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MultiAgentDecisionProcessDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::~TransitionObservationIndependentMADPDiscrete()
TransitionObservationIndependentMADPDiscrete:: ~TransitionObservationIndependentMADPDiscrete() { // this destructor leaks memory vector<MultiAgentDecisionProcessDiscrete*>::iterator it = _m_individualMADPDs.begin(); vector<MultiAgentDecisionProcessDiscrete*>::iterator last = _m_individual...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rsi), %rax movq %rax, (%rdi) movq 0x18(%rsi), %rcx movq -0x40(%rax), %rax movq %rcx, (%rdi,%rax) movq 0x20(%rsi), %rax movq (%rdi), %rcx movq -0x48(%rcx), %rcx movq %rax, (%rdi,%rcx) movq 0xd8(%rdi), %r15 movq 0xe0(%rdi), %r12...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
virtual thunk to TransitionObservationIndependentMADPDiscrete::~TransitionObservationIndependentMADPDiscrete()
TransitionObservationIndependentMADPDiscrete:: ~TransitionObservationIndependentMADPDiscrete() { // this destructor leaks memory vector<MultiAgentDecisionProcessDiscrete*>::iterator it = _m_individualMADPDs.begin(); vector<MultiAgentDecisionProcessDiscrete*>::iterator last = _m_individual...
ud2
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
virtual thunk to TransitionObservationIndependentMADPDiscrete::~TransitionObservationIndependentMADPDiscrete()
TransitionObservationIndependentMADPDiscrete:: ~TransitionObservationIndependentMADPDiscrete() { // this destructor leaks memory vector<MultiAgentDecisionProcessDiscrete*>::iterator it = _m_individualMADPDs.begin(); vector<MultiAgentDecisionProcessDiscrete*>::iterator last = _m_individual...
ud2
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::AddAgent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void TransitionObservationIndependentMADPDiscrete::AddAgent(const string &namestring) { Index i = GetNrAgents();//the old number of agents MultiAgentDecisionProcess::AddAgent(namestring); stringstream name, descr, pf; name << "Indiv.MADPDiscr.Agent"<<i; descr << "The individual MADPDiscrete used to...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x528, %rsp # imm = 0x528 movq %rsi, %rbp movq %rdi, %rbx movq (%rdi), %rax callq *0x10(%rax) movq %rax, %r13 leaq 0x80(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rbp), %rsi movq 0x8(%rbp), %rdx addq %rsi, %rdx leaq 0x70(%rsp), %r14 movq ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::AddState(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void TransitionObservationIndependentMADPDiscrete::AddState(Index agentI, const string &name) { if(agentI >= _m_individualMADPDs.size()) throw EInvalidIndex("TransitionObservationIndependentMADPDiscrete::AddState - agentI out of bounds..."); _m_individualMADPDs[agentI]->AddState(name); }
pushq %r14 pushq %rbx pushq %rax movl %esi, %eax movq 0xd8(%rdi), %rcx movq 0xe0(%rdi), %rsi subq %rcx, %rsi sarq $0x3, %rsi cmpq %rax, %rsi jbe 0x36abc8 movl $0xc8, %edi addq (%rcx,%rax,8), %rdi movq %rdx, %rsi addq $0x8, %rsp popq %rbx popq %r14 jmp 0x23afe0 movl $0x28, %edi callq 0x236e10 movq %rax, %rbx leaq 0x9ec5...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::SetISD(std::vector<double, std::allocator<double>> const&)
void TransitionObservationIndependentMADPDiscrete::SetISD(const vector<double> &v) { if(_m_nrJointStates==0) throw(E("TransitionObservationIndependentMADPDiscrete::CreateISD() joint states should have been created already")); if(v.size() != _m_nrJointStates) throw E("TransitionObservationI...
pushq %r15 pushq %r14 pushq %rbx movq 0x1d0(%rdi), %rax testq %rax, %rax je 0x36af49 movq %rsi, %r14 movq 0x8(%rsi), %rcx subq (%rsi), %rcx sarq $0x3, %rcx cmpq %rax, %rcx jne 0x36af67 movq %rdi, %rbx movq 0x1d8(%rdi), %rdi testq %rdi, %rdi je 0x36af07 movq (%rdi), %rax callq *0x8(%rax) movl $0x20, %edi callq 0x23b970 ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::ConstructJointObservationsRecursively(unsigned int, JointObservationDiscrete&, unsigned int)
size_t TransitionObservationIndependentMADPDiscrete:: ConstructJointObservationsRecursively( Index curAgentI, JointObservationDiscrete& jo, Index joI) { bool lastAgent=false; if(curAgentI == GetNrAgents()-1) { lastAgent = true; } if(curAgentI >= _m_indivObs.size()) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1f8, %rsp # imm = 0x1F8 movl %ecx, %r15d movq %rdx, 0x30(%rsp) movq %rdi, %rbx movq %rsi, 0x20(%rsp) movl %esi, %r14d movq (%rdi), %rax callq *0x10(%rax) movq %rax, 0x38(%rsp) movq 0x218(%rbx), %rax movq %rbx, 0x8(%rsp) movq 0x220(%rbx...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::SoftPrintActionSets[abi:cxx11]() const
string TransitionObservationIndependentMADPDiscrete::SoftPrintActionSets() const { stringstream str; if(!_m_initialized) { stringstream ss; ss << "TransitionObservationIndependentMADPDiscrete::PrintAction"<< "Sets() - Error: not initialized. "<<endl; throw E(ss); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x318, %rsp # imm = 0x318 movq %rsi, %r14 movq %rdi, (%rsp) leaq 0x190(%rsp), %rdi callq 0x238d20 cmpb $0x0, 0xc8(%r14) je 0x36d314 leaq 0x1a0(%rsp), %r15 leaq 0x9cbfb(%rip), %rsi # 0x409d51 movl $0x8, %edx movq %r15, %rdi callq 0x23...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::SoftPrintJointActionSet[abi:cxx11]() const
string TransitionObservationIndependentMADPDiscrete::SoftPrintJointActionSet() const { stringstream str; if(!_m_initialized) { stringstream ss; ss << "TransitionObservationIndependentMADPDiscrete::PrintJoint"<< "ActionSets() - Error: not initialized. "<<endl; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x318, %rsp # imm = 0x318 movq %rsi, %r14 movq %rdi, %rbx leaq 0x190(%rsp), %rdi callq 0x238d20 cmpb $0x0, 0xc8(%r14) je 0x36d522 movq 0xf0(%r14), %r12 movq 0xf8(%r14), %r13 cmpq %r13, %r12 je 0x36d4dc leaq 0x1a0(%rsp), %r14 leaq 0x18(%r...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
virtual thunk to TransitionObservationIndependentMADPDiscrete::GetObservationProbability(unsigned int, unsigned int, unsigned int) const
double TransitionObservationIndependentMADPDiscrete:: GetObservationProbability(Index jaI, Index sucSI, Index joI) const { double p=1; if(!_m_jointModelsGenerated) { vector<Index> sucSIs=JointToIndividualStateIndices(sucSI); vector<Index> ...
movq (%rdi), %rax addq -0x130(%rax), %rdi jmp 0x2375f0 nop
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TransitionObservationIndependentMADPDiscrete.cpp
TransitionObservationIndependentMADPDiscrete::JointToIndividualStateIndices(unsigned int) const
const std::vector<Index>& JointToIndividualStateIndices(Index jointSI) const { if(_m_jointIndicesCached) return _m_indivStateIndices[jointSI]; else if (_m_indivStateIndicesMap->find(jointSI)!= _m_indivStateIndicesMap->end()) return(_m_...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movl %esi, %ebx movq %rdi, %r15 cmpb $0x1, 0xca(%rdi) jne 0x36fca5 movl %ebx, %eax leaq (%rax,%rax,2), %r14 shlq $0x3, %r14 addq 0x190(%r15), %r14 jmp 0x36fdcb movq 0x1a8(%r15), %r14 movq 0x10(%r14), %rax addq $0x8, %r14 movq %r14, %rcx testq %rax, %rax je 0x...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/./TransitionObservationIndependentMADPDiscrete.h
TransitionObservationIndependentMADPDiscrete::SampleSuccessorState(unsigned int, unsigned int) const
Index SampleSuccessorState(Index sI, Index jaI) const { std::vector<Index> sIs=JointToIndividualStateIndices(sI); std::vector<Index> aIs=JointToIndividualActionIndices(jaI); return(IndividualToJointStateIndices(SampleSuccessorState(sIs,aIs))); }
pushq %rbp pushq %rbx subq $0x48, %rsp movl %edx, %ebp movq %rdi, %rbx callq 0x23e300 leaq 0x30(%rsp), %rdi movq %rax, %rsi callq 0x234bd0 movq (%rbx), %rax movq %rbx, %rdi movl %ebp, %esi callq *0x60(%rax) leaq 0x18(%rsp), %rdi movq %rax, %rsi callq 0x234bd0 movq %rsp, %rdi leaq 0x30(%rsp), %rdx leaq 0x18(%rsp), %rcx ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/./TransitionObservationIndependentMADPDiscrete.h
virtual thunk to TransitionObservationIndependentMADPDiscrete::IndividualToJointActionIndices(std::vector<unsigned int, std::allocator<unsigned int>> const&, Scope const&) const
Index IndividualToJointActionIndices( const std::vector<Index>& ja_e, const Scope& agSC) const { // identical to MADPComponentDiscreteActions std::vector<size_t> nr_A_e(agSC.size()); IndexTools::RestrictIndividualIndicesToScope( GetNrActions(), agSC, n...
movq (%rdi), %rax addq -0xb8(%rax), %rdi jmp 0x241bb0 nop
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/./TransitionObservationIndependentMADPDiscrete.h
TOIFactoredRewardDecPOMDPDiscrete::SoftPrint[abi:cxx11]() const
string TOIFactoredRewardDecPOMDPDiscrete::SoftPrint() const { stringstream ss; ss << TOIDecPOMDPDiscrete::SoftPrint(); if(_m_initialized) { ss << "Reward models: " << endl; for(unsigned int i=0;i!=GetNrAgents();++i) { ss << "Individual rewards for agent " << i << end...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %rsi, %r14 movq %rdi, 0x28(%rsp) leaq 0x30(%rsp), %rdi callq 0x238d20 leaq 0x8(%rsp), %rdi movq %r14, %rsi callq 0x243670 leaq 0x40(%rsp), %r15 movq 0x8(%rsp), %rsi movq 0x10(%rsp), %rdx movq %r15, %rdi cal...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TOIFactoredRewardDecPOMDPDiscrete.cpp
TOICompactRewardDecPOMDPDiscrete::~TOICompactRewardDecPOMDPDiscrete()
TOICompactRewardDecPOMDPDiscrete::~TOICompactRewardDecPOMDPDiscrete() { for(unsigned int i=0;i!=_m_p_rModels.size();++i) delete(_m_p_rModels[i]); }
pushq %rbp pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 movq (%rsi), %rax movq %rax, (%rdi) movq 0x88(%rsi), %rcx movq -0x50(%rax), %rax movq %rcx, (%rdi,%rax) movq 0x90(%rsi), %rax movq (%rdi), %rcx movq -0x58(%rcx), %rcx movq %rax, (%rdi,%rcx) movq 0x98(%rsi), %rax movq (%rdi), %rcx movq -0x60(%rcx), %rcx mo...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TOICompactRewardDecPOMDPDiscrete.cpp
virtual thunk to TOICompactRewardDecPOMDPDiscrete::SoftPrint[abi:cxx11]() const
string TOICompactRewardDecPOMDPDiscrete::SoftPrint() const { stringstream ss; ss << TOIDecPOMDPDiscrete::SoftPrint(); if(_m_initialized) { ss << "Reward models: " << endl; for(unsigned int i=0;i!=GetNrAgents();++i) { ss << "Individual rewards for agent " << i << endl...
pushq %rbx movq %rdi, %rbx movq (%rsi), %rax addq -0x180(%rax), %rsi callq 0x23f5c0 movq %rbx, %rax popq %rbx retq
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/TOICompactRewardDecPOMDPDiscrete.cpp
MADPComponentDiscreteActions::ConstructJointActionsRecursively(unsigned int, JointActionDiscrete&, unsigned int)
size_t MADPComponentDiscreteActions::ConstructJointActionsRecursively( Index curAgentI, JointActionDiscrete& ja, Index jaI) { bool lastAgent=false; if(curAgentI == _m_nrActions.size()-1) { lastAgent = true; } if(curAgentI >= _m_actionVecs.size()) { stringstream ss; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1d8, %rsp # imm = 0x1D8 movl %ecx, %r15d movq %rdx, 0x30(%rsp) movq %rsi, 0x20(%rsp) movl %esi, %ebp movq 0x58(%rdi), %rax movq %rdi, 0x8(%rsp) movq 0x60(%rdi), %rcx subq %rax, %rcx sarq $0x3, %rcx movabsq $-0x5555555555555555, %r12 # ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MADPComponentDiscreteActions.cpp
MADPComponentDiscreteActions::GetNrActions(unsigned int) const
size_t MADPComponentDiscreteActions::GetNrActions(Index agentI) const { if(agentI < _m_nrActions.size()) return _m_nrActions[agentI]; else { stringstream ss; ss << "Warning: MADPComponentDiscreteActions::GetNrActions(Index agentI) - index out of bounds"<<endl; throw E...
pushq %r14 pushq %rbx subq $0x188, %rsp # imm = 0x188 movl %esi, %eax movq 0x40(%rdi), %rcx movq 0x48(%rdi), %rdx subq %rcx, %rdx sarq $0x3, %rdx cmpq %rax, %rdx jbe 0x3762e5 movq (%rcx,%rax,8), %rax addq $0x188, %rsp # imm = 0x188 popq %rbx popq %r14 retq movq %rsp, %rdi callq 0x238d20 leaq 0x10(...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MADPComponentDiscreteActions.cpp
MADPComponentDiscreteObservations::AddObservation(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void MADPComponentDiscreteObservations::AddObservation(Index AI, const string &name, const string &description) { if(DEBUG_ADD_DO) cerr<<"MADPComponentDiscreteObservation::AddObservation("<<AI<<","...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rcx, %r15 movq %rdx, %r14 movl %esi, %eax movq %rdi, %rbx movq 0x40(%rdi), %rcx movq 0x48(%rdi), %rsi movq %rsi, %rdx subq %rcx, %rdx sarq $0x3, %rdx movl %eax, %r12d cmpq %r12, %rdx sete %dil incl %eax cm...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MADPComponentDiscreteObservations.cpp
MADPComponentDiscreteObservations::GetJointObservation(unsigned int) const
const JointObservation* MADPComponentDiscreteObservations::GetJointObservation(Index i) const { if(!_m_initialized) { stringstream ss; ss << "MADPComponentDiscreteObservations::GetJointObservation("<< i<<") - Error: not initialized. "<<endl; throw E(ss); } if(!_m_cachedA...
pushq %r14 pushq %rbx subq $0x188, %rsp # imm = 0x188 movl %esi, %ebx cmpb $0x0, 0x8(%rdi) je 0x379a53 cmpb $0x0, 0x9(%rdi) je 0x379ae1 movl %ebx, %ebx movq 0x20(%rdi), %rax movq 0x28(%rdi), %rcx subq %rax, %rcx sarq $0x3, %rcx cmpq %rbx, %rcx jbe 0x379b13 movq (%rax,%rbx,8), %rax addq $0x188, %rsp ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MADPComponentDiscreteObservations.cpp
MADPComponentDiscreteObservations::SoftPrint[abi:cxx11]() const
string MADPComponentDiscreteObservations::SoftPrint() const { stringstream ss; ss << "MADPComponentDiscreteObservations::Print()" << endl; ss << "#joint observations="<<GetNrJointObservations()<<endl; ss << SoftPrintObservationSets(); ss << "Joint Observations:"<<endl; ss << SoftPrintJointOb...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rsi, %r15 movq %rdi, %rbx leaq 0x20(%rsp), %rdi callq 0x238d20 leaq 0x30(%rsp), %r14 leaq 0x91791(%rip), %rsi # 0x40b69b movl $0x2a, %edx movq %r14, %rdi callq 0x23cbd0 movq 0x30(%rsp), %rax movq -0x18(%rax), %rdi addq %r14...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MADPComponentDiscreteObservations.cpp
MADPComponentDiscreteStates::SetInitialized(bool)
bool MADPComponentDiscreteStates::SetInitialized(bool b) { if(b) { if(_m_nrStates==0) throw(E("MADPComponentDiscreteStates::SetInitialized problem has 0 states")); // alike to Belief::SanityCheck() bool validISD=true; // check for negative and entries>1 dou...
pushq %r15 pushq %r14 pushq %rbx movl %esi, %ebx movq %rdi, %r14 testl %esi, %esi je 0x37ae05 cmpq $0x0, 0x10(%r14) je 0x37ae11 movq 0x30(%r14), %rax movq 0x8(%rax), %rcx movq 0x10(%rax), %rdx cmpq %rdx, %rcx je 0x37ad67 movb $0x1, %al vxorpd %xmm1, %xmm1, %xmm1 xorl %esi, %esi vmovsd 0x6c548(%rip), %xmm2 # 0x3e7280...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/MADPComponentDiscreteStates.cpp
POSGDiscrete::POSGDiscrete(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
POSGDiscrete::POSGDiscrete( const string &name, const string &descr, const string &pf) : MultiAgentDecisionProcessDiscrete(name, descr, pf) { _m_initialized = false; size_t nrAgents = GetNrAgents(); POSG::SetNrAgents(nrAgents); POSG::SetInitialized(true); _m_p_rModel = vector<RewardModelMapp...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r13 movq %rdi, %r14 leaq 0x8(%rsi), %rbx movq %rbx, %rsi callq 0x2332b0 leaq 0x200(%r14), %r15 leaq 0x30(%r13), %r12 movq %r15, %rdi movq %r12, %rsi callq 0x23d270 movq (%r13), %rax movq %rax, (%r14) movq 0x48(%r13), %rcx mov...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/POSGDiscrete.cpp
EventObservationModelMapping::~EventObservationModelMapping()
EventObservationModelMapping::~EventObservationModelMapping() { for(size_t i = 0; i < _m_O.size(); i++) { for(vector<Matrix*>::iterator it=_m_O.at(i).begin(); it!=_m_O.at(i).end(); ++it) delete(*it); _m_O.at(i).clear(); } _m_O.clear(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x15443f(%rip), %rax # 0x4e9010 addq $0x10, %rax movq %rax, (%rdi) movq 0x18(%rdi), %rsi cmpq %rsi, 0x20(%rdi) je 0x394c9a xorl %r14d, %r14d movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB movq 0x18(%rbx),...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/EventObservationModelMapping.cpp
NamedDescribedEntity::SoftPrint[abi:cxx11]() const
string NamedDescribedEntity::SoftPrint() const { stringstream ss; ss << "name:" << this->GetName() << " - descr." << this->GetDescription(); return(ss.str()); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1d0, %rsp # imm = 0x1D0 movq %rsi, %r14 movq %rdi, %rbx leaq 0x48(%rsp), %rdi callq 0x238d20 leaq 0x58(%rsp), %r15 leaq 0x77d1a(%rip), %rsi # 0x40d6c6 movl $0x5, %edx movq %r15, %rdi callq 0x23cbd0 leaq 0x38(%rsp), %r12 movq %r12, -0x10(%r12)...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/base/NamedDescribedEntity.cpp
libDAI::BP::logZ() const
Complex BP::logZ() const { Complex sum = 0.0; for(size_t i = 0; i < grm().nrVars(); i++ ) sum += Complex(1.0 - grm().nbV(i).size()) * beliefV(i).entropy(); for( size_t I = 0; I < grm().nrFactors(); I++ ) sum -= KL_dist( beliefF(I), grm().factor(I) ); return sum; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, %rbx movq (%rdi), %rax callq *0x20(%rax) movq (%rax), %rcx movq %rax, %rdi callq *0x28(%rcx) vxorpd %xmm0, %xmm0, %xmm0 testq %rax, %rax je 0x3a07de vmovapd %xmm0, (%rsp) movl $0x8, %r14d xorl %r15d, %r15d leaq 0x60(%rsp), %rb...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/bp.cpp
unsigned long libDAI::Properties::FromStringTo<unsigned long>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
ValueType FromStringTo(const PropertyKey &key) const { PropertyValue val = Get(key); if( val.type() != typeid(ValueType) ) { assert( val.type() == typeid(std::string) ); std::stringstream ss; ss << GetAs<std::string>(key); ...
pushq %r15 pushq %r14 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 movq %rsi, %r14 movq %rdi, %r15 callq 0x234f00 movq 0x40(%rax), %rdi testq %rdi, %rdi je 0x3a2f4d movq (%rdi), %rax callq *0x18(%rax) movq %rax, %rbx jmp 0x3a2f4f xorl %ebx, %ebx testq %rbx, %rbx je 0x3a2f5f movq (%rbx), %rax movq %rbx, %rdi ca...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./properties.h
libDAI::RemoveShortLoops(std::vector<libDAI::TFactor<double>, std::allocator<libDAI::TFactor<double>>>&)
void RemoveShortLoops(std::vector<Factor> &P) { bool found = true; while( found ) { found = false; vector<Factor>::iterator I, J; for( I = P.begin(); I != P.end(); I++ ) { J = I; J++; for( ; J != P.end(); J++ ) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq 0x13ef1d(%rip), %r14 # 0x4e9860 movq (%rbx), %rbp cmpq 0x8(%rbx), %rbp je 0x3aa9c8 xorl %r13d, %r13d leaq 0x38(%rbp), %r14 cmpq 0x8(%rbx), %r14 je 0x3aa9a8 movq %r13, (%rsp) movq %r14, %r15 leaq 0x8(%rsp), %rdi mo...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/factorgraph.cpp
libDAI::BipartiteGraph<libDAI::Var, libDAI::TFactor<double>>::operator=(libDAI::BipartiteGraph<libDAI::Var, libDAI::TFactor<double>> const&)
BipartiteGraph<T1,T2> & operator=(const BipartiteGraph<T1,T2> & x) { if( this != &x ) { _V1 = x._V1; _V2 = x._V2; _E12 = x._E12; _E12ind = x._E12ind; _nb1 = x._nb1; ...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpq %rsi, %rdi je 0x3abe4d movq %rsi, %r14 movq %rbx, %rdi callq 0x233950 leaq 0x18(%r14), %rsi leaq 0x18(%rbx), %rdi callq 0x235180 leaq 0x30(%r14), %rsi leaq 0x30(%rbx), %rdi callq 0x23fc90 leaq 0x48(%r14), %rsi leaq 0x48(%rbx), %rdi callq 0x236f00 leaq 0x60(%r14), %r...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./bipgraph.h
libDAI::HAK::constructMessages()
void HAK::constructMessages() { // Create outer beliefs _Qa.clear(); _Qa.reserve(grm().nr_ORs()); for( size_t alpha = 0; alpha < grm().nr_ORs(); alpha++ ) _Qa.push_back( Factor( grm().OR(alpha).vars() ) ); // Create inner beliefs _Qb.clear(); _Qb.rese...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx leaq 0x230(%rdi), %r14 movq 0x230(%rdi), %rsi movq %r14, %rdi callq 0x23ce40 movq (%rbx), %rax movq %rbx, %rdi callq *0x28(%rax) movq 0xe8(%rax), %rsi subq 0xe0(%rax), %rsi sarq $0x6, %rsi movq %r14, %rdi callq 0x23d870 m...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/hak.cpp
libDAI::HAK::init()
void HAK::init() { if( !initProps() ) DAI_THROW(NOT_ALL_PROPERTIES_SPECIFIED); for( vector<Factor>::iterator alpha = _Qa.begin(); alpha != _Qa.end(); alpha++ ) alpha->fill( 1.0 / alpha->stateSpace() ); for( vector<Factor>::iterator beta = _Qb.begin(); beta != _Qb.end();...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq (%rdi), %rax callq *0x88(%rax) testb %al, %al je 0x3aed1f movq 0x230(%rbx), %rax movq 0x238(%rbx), %rcx cmpq %rcx, %rax je 0x3aeb3f vmovsd 0x387b3(%rip), %xmm0 # 0x3e7280 vpmovsxbq 0x385e1(%rip), %zmm1 # 0x3e70b8 movq 0x20(%rax), %rdx ...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/hak.cpp
libDAI::Properties libDAI::Properties::GetAs<libDAI::Properties>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
ValueType GetAs(const PropertyKey &key) const { try { return boost::any_cast<ValueType>(Get(key)); } catch( const boost::bad_any_cast & ) { std::cerr << "Cannot cast property " << key << " to "; std::cerr << typeid(ValueType).na...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi movq %rdx, %rsi callq 0x234f00 addq $0x40, %rax movq %rax, %rdi callq 0x234a80 movq %rbx, %rdi movq %rax, %rsi callq 0x23b880 movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r12 popq %r14 popq %r15 ret...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./properties.h
libDAI::LCLin::LCLin(libDAI::LCLin const&)
LCLin( const LCLin & x ) : DAIAlgFG(x), Props(x.Props), _maxdiff(x._maxdiff), _iterations(x._iterations), _phis(x._phis), _gamma(x._gamma), _beliefs(x._beliefs) {}
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx callq 0x2444a0 movq 0x11c28a(%rip), %rax # 0x4e9910 addq $0x10, %rax movq %rax, (%rbx) vmovups 0x118(%r14), %ymm0 vmovups 0x130(%r14), %ymm1 vmovups %ymm0, 0x118(%rbx) vmovups %ymm1, 0x130(%rbx) leaq 0x150(%rbx), %r15 leaq 0x160(%...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./lclin.h
libDAI::TRW::run()
double TRW::run() { if( Props.verbose >= 1 ) cout << "Starting " << identify() << "..." << endl; init(); inner_loop(); double prev_logZ = real(logZ()); double cur_logZ = prev_logZ; double alpha = 0.5; for( size_t iter = 0; iter < Props.maxouteriter;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %rdi, %r13 cmpq $0x0, 0x140(%rdi) je 0x3dadd2 movq 0x10eb25(%rip), %r14 # 0x4e9860 leaq 0x330ae(%rip), %rsi # 0x40ddf0 movl $0x9, %edx movq %r14, %rdi callq 0x23cbd0 movq (%r13), %rax leaq 0xb0(%rsp), %r15 movq %r15, %rdi mov...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/trw.cpp
libDAI::TRW::identify[abi:cxx11]() const
string TRW::identify() const { stringstream result (stringstream::out); result << Name << GetProperties(); return result.str(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x188, %rsp # imm = 0x188 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rdi movl $0x10, %esi callq 0x2393e0 leaq 0x10(%rsp), %r15 movq 0x10d043(%rip), %rax # 0x4e9be0 movq (%rax), %r12 testq %r12, %r12 je 0x3dcbbd movq %r12, %rdi callq 0x236660 movq %r15, %r...
/laurimi[P]npgi/build_O1/third-party/ExternalProject/madp/src/project_madp/src/libDAI/trw.cpp
secp256k1_ecdsa_verify
int secp256k1_ecdsa_verify(const secp256k1_context* ctx, const secp256k1_ecdsa_signature *sig, const unsigned char *msghash32, const secp256k1_pubkey *pubkey) { secp256k1_ge q; secp256k1_scalar r, s; secp256k1_scalar m; VERIFY_CHECK(ctx != NULL); ARG_CHECK(msghash32 != NULL); ARG_CHECK(sig != NU...
subq $0xe8, %rsp movq %rdi, 0xd8(%rsp) movq %rsi, 0xd0(%rsp) movq %rdx, 0xc8(%rsp) movq %rcx, 0xc0(%rsp) jmp 0x4169 cmpq $0x0, 0xc8(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x41af movq 0xd8(%rsp), %rdi addq $0xa8, %rdi leaq 0x18014(%rip), %rsi # 0x1c1ae callq 0x2270 mo...
/jonasnick[P]secp256k1-zkp/src/secp256k1.c
nonce_function_rfc6979
static int nonce_function_rfc6979(unsigned char *nonce32, const unsigned char *msg32, const unsigned char *key32, const unsigned char *algo16, void *data, unsigned int counter) { unsigned char keydata[112]; unsigned int offset = 0; secp256k1_rfc6979_hmac_sha256 rng; unsigned int i; secp256k1_scalar msg; ...
subq $0x138, %rsp # imm = 0x138 movq %rdi, 0x130(%rsp) movq %rsi, 0x128(%rsp) movq %rdx, 0x120(%rsp) movq %rcx, 0x118(%rsp) movq %r8, 0x110(%rsp) movl %r9d, 0x10c(%rsp) movl $0x0, 0x8c(%rsp) movq 0x128(%rsp), %rsi leaq 0x20(%rsp), %rdi xorl %eax, %eax movl %eax, %edx callq 0x37f0 movq %rsp, %rdi leaq 0x20(%r...
/jonasnick[P]secp256k1-zkp/src/secp256k1.c
secp256k1_ec_pubkey_create
int secp256k1_ec_pubkey_create(const secp256k1_context* ctx, secp256k1_pubkey *pubkey, const unsigned char *seckey) { secp256k1_ge p; secp256k1_scalar seckey_scalar; int ret = 0; VERIFY_CHECK(ctx != NULL); ARG_CHECK(pubkey != NULL); memset(pubkey, 0, sizeof(*pubkey)); ARG_CHECK(secp256k1_ecm...
subq $0xa8, %rsp movq %rdi, 0x98(%rsp) movq %rsi, 0x90(%rsp) movq %rdx, 0x88(%rsp) movl $0x0, 0xc(%rsp) jmp 0x4e19 cmpq $0x0, 0x90(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x4e5f movq 0x98(%rsp), %rdi addq $0xa8, %rdi leaq 0x174ac(%rip), %rsi # 0x1c2f6 callq 0x2270 mov...
/jonasnick[P]secp256k1-zkp/src/secp256k1.c
secp256k1_scalar_cmov
static SECP256K1_INLINE void secp256k1_scalar_cmov(secp256k1_scalar *r, const secp256k1_scalar *a, int flag) { uint64_t mask0, mask1; volatile int vflag = flag; SECP256K1_CHECKMEM_CHECK_VERIFY(r->d, sizeof(r->d)); mask0 = vflag + ~((uint64_t)0); mask1 = ~mask0; r->d[0] = (r->d[0] & mask0) | (a->...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movl %edx, -0x14(%rsp) movl -0x14(%rsp), %eax movl %eax, -0x2c(%rsp) movl -0x2c(%rsp), %eax cltq addq $-0x1, %rax movq %rax, -0x20(%rsp) movq -0x20(%rsp), %rax xorq $-0x1, %rax movq %rax, -0x28(%rsp) movq -0x8(%rsp), %rax movq (%rax), %rcx andq -0x20(%rsp), %rcx movq -0x10(%...
/jonasnick[P]secp256k1-zkp/src/scalar_4x64_impl.h
secp256k1_ec_seckey_tweak_add
int secp256k1_ec_seckey_tweak_add(const secp256k1_context* ctx, unsigned char *seckey, const unsigned char *tweak32) { secp256k1_scalar sec; int ret = 0; VERIFY_CHECK(ctx != NULL); ARG_CHECK(seckey != NULL); ARG_CHECK(tweak32 != NULL); ret = secp256k1_scalar_set_b32_seckey(&sec, seckey); re...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movq %rdx, 0x28(%rsp) movl $0x0, 0x4(%rsp) jmp 0x53ad cmpq $0x0, 0x30(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x53ea movq 0x38(%rsp), %rdi addq $0xa8, %rdi leaq 0x16e36(%rip), %rsi # 0x1c20e callq 0x2270 mov...
/jonasnick[P]secp256k1-zkp/src/secp256k1.c
secp256k1_ec_seckey_tweak_mul
int secp256k1_ec_seckey_tweak_mul(const secp256k1_context* ctx, unsigned char *seckey, const unsigned char *tweak32) { secp256k1_scalar factor; secp256k1_scalar sec; int ret = 0; int overflow = 0; VERIFY_CHECK(ctx != NULL); ARG_CHECK(seckey != NULL); ARG_CHECK(tweak32 != NULL); secp256k...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) movl $0x0, 0x14(%rsp) movl $0x0, 0x10(%rsp) jmp 0x5705 cmpq $0x0, 0x60(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x5742 movq 0x68(%rsp), %rdi addq $0xa8, %rdi leaq 0x16ade(%rip), %rsi # 0...
/jonasnick[P]secp256k1-zkp/src/secp256k1.c
secp256k1_eckey_pubkey_tweak_mul
static int secp256k1_eckey_pubkey_tweak_mul(secp256k1_ge *key, const secp256k1_scalar *tweak) { secp256k1_gej pt; if (secp256k1_scalar_is_zero(tweak)) { return 0; } secp256k1_gej_set_ge(&pt, key); secp256k1_ecmult(&pt, &pt, tweak, &secp256k1_scalar_zero); secp256k1_ge_set_gej(key, &pt);...
subq $0x98, %rsp movq %rdi, 0x88(%rsp) movq %rsi, 0x80(%rsp) movq 0x80(%rsp), %rdi callq 0x6c80 cmpl $0x0, %eax je 0x5a76 movl $0x0, 0x94(%rsp) jmp 0x5abb movq 0x88(%rsp), %rsi movq %rsp, %rdi callq 0x9f40 movq 0x80(%rsp), %rdx movq %rsp, %rsi leaq 0x16a88(%rip), %rcx # 0x1c520 movq %rsi, %rdi callq 0x9fc0 movq 0x8...
/jonasnick[P]secp256k1-zkp/src/eckey_impl.h
ecdh_hash_function_sha256
static int ecdh_hash_function_sha256(unsigned char *output, const unsigned char *x32, const unsigned char *y32, void *data) { unsigned char version = (y32[31] & 0x01) | 0x02; secp256k1_sha256 sha; (void)data; secp256k1_sha256_initialize(&sha); secp256k1_sha256_write(&sha, &version, 1); secp256k...
subq $0x98, %rsp movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq 0x80(%rsp), %rax movzbl 0x1f(%rax), %eax andl $0x1, %eax orl $0x2, %eax movb %al, 0x77(%rsp) leaq 0x8(%rsp), %rdi callq 0xb630 leaq 0x8(%rsp), %rdi leaq 0x77(%rsp), %rsi movl $0x1, %edx callq 0x6790 movq 0x88(%...
/jonasnick[P]secp256k1-zkp/src/modules/ecdh/main_impl.h
secp256k1_fe_impl_normalize
static void secp256k1_fe_impl_normalize(secp256k1_fe *r) { uint64_t t0 = r->n[0], t1 = r->n[1], t2 = r->n[2], t3 = r->n[3], t4 = r->n[4]; /* Reduce t4 at the start so there will be at most a single carry from the first pass */ uint64_t m; uint64_t x = t4 >> 48; t4 &= 0x0FFFFFFFFFFFFULL; /* The fir...
movq %rdi, -0x8(%rsp) movq -0x8(%rsp), %rax movq (%rax), %rax movq %rax, -0x10(%rsp) movq -0x8(%rsp), %rax movq 0x8(%rax), %rax movq %rax, -0x18(%rsp) movq -0x8(%rsp), %rax movq 0x10(%rax), %rax movq %rax, -0x20(%rsp) movq -0x8(%rsp), %rax movq 0x18(%rax), %rax movq %rax, -0x28(%rsp) movq -0x8(%rsp), %rax movq 0x20(%ra...
/jonasnick[P]secp256k1-zkp/src/field_5x52_impl.h
secp256k1_xonly_pubkey_parse
int secp256k1_xonly_pubkey_parse(const secp256k1_context* ctx, secp256k1_xonly_pubkey *pubkey, const unsigned char *input32) { secp256k1_ge pk; secp256k1_fe x; VERIFY_CHECK(ctx != NULL); ARG_CHECK(pubkey != NULL); memset(pubkey, 0, sizeof(*pubkey)); ARG_CHECK(input32 != NULL); if (!secp256...
subq $0xa8, %rsp movq %rdi, 0x98(%rsp) movq %rsi, 0x90(%rsp) movq %rdx, 0x88(%rsp) jmp 0x7d91 cmpq $0x0, 0x90(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x7dd7 movq 0x98(%rsp), %rdi addq $0xa8, %rdi leaq 0x14534(%rip), %rsi # 0x1c2f6 callq 0x2270 movl $0x0, 0xa4(%rsp) jm...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h
secp256k1_xonly_pubkey_serialize
int secp256k1_xonly_pubkey_serialize(const secp256k1_context* ctx, unsigned char *output32, const secp256k1_xonly_pubkey *pubkey) { secp256k1_ge pk; VERIFY_CHECK(ctx != NULL); ARG_CHECK(output32 != NULL); memset(output32, 0, 32); ARG_CHECK(pubkey != NULL); if (!secp256k1_xonly_pubkey_load(ctx,...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) jmp 0x8035 cmpq $0x0, 0x60(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x8072 movq 0x68(%rsp), %rdi addq $0xa8, %rdi leaq 0x14251(%rip), %rsi # 0x1c2b1 callq 0x2270 movl $0x0, 0x74(%rsp) jm...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h
secp256k1_xonly_pubkey_cmp
int secp256k1_xonly_pubkey_cmp(const secp256k1_context* ctx, const secp256k1_xonly_pubkey* pk0, const secp256k1_xonly_pubkey* pk1) { unsigned char out[2][32]; const secp256k1_xonly_pubkey* pk[2]; int i; VERIFY_CHECK(ctx != NULL); pk[0] = pk0; pk[1] = pk1; for (i = 0; i < 2; i++) { /* If...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movq %rsi, 0x68(%rsp) movq %rdx, 0x60(%rsp) movq 0x68(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x18(%rsp) movl $0x0, 0xc(%rsp) cmpl $0x2, 0xc(%rsp) jge 0x81bc movq 0x70(%rsp), %rdi movslq 0xc(%rsp), %rax leaq 0x20(%rsp), %rsi shlq $0x5, %rax addq %rax, %r...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h
secp256k1_extrakeys_ge_even_y
static int secp256k1_extrakeys_ge_even_y(secp256k1_ge *r) { int y_parity = 0; VERIFY_CHECK(!secp256k1_ge_is_infinity(r)); if (secp256k1_fe_is_odd(&r->y)) { secp256k1_fe_negate(&r->y, &r->y, 1); y_parity = 1; } return y_parity; }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl $0x0, 0xc(%rsp) movq 0x10(%rsp), %rdi callq 0xa140 movq 0x10(%rsp), %rdi addq $0x28, %rdi callq 0x8950 cmpl $0x0, %eax je 0x8344 jmp 0x8320 movq 0x10(%rsp), %rdi addq $0x28, %rdi movq 0x10(%rsp), %rsi addq $0x28, %rsi movl $0x1, %edx callq 0x100f0 movl $0x1, 0xc(%rsp) movl 0x...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h
secp256k1_xonly_pubkey_tweak_add_check
int secp256k1_xonly_pubkey_tweak_add_check(const secp256k1_context* ctx, const unsigned char *tweaked_pubkey32, int tweaked_pk_parity, const secp256k1_xonly_pubkey *internal_pubkey, const unsigned char *tweak32) { secp256k1_ge pk; unsigned char pk_expected32[32]; VERIFY_CHECK(ctx != NULL); ARG_CHECK(in...
subq $0xb8, %rsp movq %rdi, 0xa8(%rsp) movq %rsi, 0xa0(%rsp) movl %edx, 0x9c(%rsp) movq %rcx, 0x90(%rsp) movq %r8, 0x88(%rsp) jmp 0x84e0 cmpq $0x0, 0x90(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x8526 movq 0xa8(%rsp), %rdi addq $0xa8, %rdi leaq 0x13ddc(%rip), %rsi # 0x...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h
secp256k1_keypair_sec
int secp256k1_keypair_sec(const secp256k1_context* ctx, unsigned char *seckey, const secp256k1_keypair *keypair) { VERIFY_CHECK(ctx != NULL); ARG_CHECK(seckey != NULL); memset(seckey, 0, 32); ARG_CHECK(keypair != NULL); memcpy(seckey, &keypair->data[0], 32); return 1; }
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) movq %rdx, 0x8(%rsp) jmp 0x8b65 cmpq $0x0, 0x10(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x8b9f movq 0x18(%rsp), %rdi addq $0xa8, %rdi leaq 0x1367e(%rip), %rsi # 0x1c20e callq 0x2270 movl $0x0, 0x24(%rsp) jmp...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h